David Golden > Metabase-Backend-AWS-1.000 > Metabase::Index::SimpleDB

Download:
Metabase-Backend-AWS-1.000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.000   Source  

NAME ^

Metabase::Index::SimpleDB - Metabase index on Amazon SimpleDB

VERSION ^

version 1.000

SYNOPSIS ^

  require Metabase::Index::SimpleDB;
  Metabase::Index:SimpleDB->new(
    access_key_id => 'XXX',
    secret_access_key => 'XXX',
    domain     => 'metabase',
  );

DESCRIPTION ^

This is an implementation of the Metabase::Index and Metabase::Query roles using Amazon SimpleDB.

ATTRIBUTES ^

domain (required)

The SimpleDB domain to store index data in. This should be unique for each Metabase installation.

consistent

Whether consistent reads should be used. Default is 0. Probably most useful for testing.

USAGE ^

See Metabase::Backend::AWS for common constructor attributes and see below for constructor attributes specific to this class. See Metabase::Index, Metabase::Query and Metabase::Librarian for details on usage.

LIMITATIONS ^

Search queries have limitations based on the underlying SimpleDB search API. Specifically:

lexicographic comparison

All comparisons are done lexicographically, even when the field or comparison value appears to be a number.

-order

SimpleDB only supports sorting on a single attribute. Any field used for sorting must also have been included as part of a query constraint in the -where expression.

-limit

Limit is only supported when a query is sorted.

AUTHOR ^

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
syntax highlighting: