Metabase::Index::SimpleDB - Metabase index on Amazon SimpleDB
version 1.000
require Metabase::Index::SimpleDB; Metabase::Index:SimpleDB->new( access_key_id => 'XXX', secret_access_key => 'XXX', domain => 'metabase', );
This is an implementation of the Metabase::Index and Metabase::Query roles using Amazon SimpleDB.
The SimpleDB domain to store index data in. This should be unique for each Metabase installation.
Whether consistent reads should be used. Default is 0. Probably most useful for testing.
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.
Search queries have limitations based on the underlying SimpleDB search API. Specifically:
All comparisons are done lexicographically, even when the field or comparison value appears to be a number.
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.
-where
Limit is only supported when a query is sorted.
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2011 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Metabase::Backend::AWS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Metabase::Backend::AWS
CPAN shell
perl -MCPAN -e shell install Metabase::Backend::AWS
For more information on module installation, please visit the detailed CPAN module installation guide.