This interface describes the API that concrete query adapter should implement
Common interface for document storage services in the cloud. This interface supports most document services and provides some flexibility for vendor-specific features and requirements via an optional $options array in each method signature. Classes implementing this interface should implement URI construction for collections and documents from the parameters given in each method and the account data passed in to the constructor. Classes implementing this interface are also responsible for security; access control isn't currently supported in this interface, although we are considering access control support in future versions of the interface. Query optimization mechanisms are also not supported in this version.
category | Zend |
---|---|
package | Zend_Cloud |
subpackage | DocumentService |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
assemble() : mixed
mixed
from(string $from) : \Zend_Cloud_DocumentService_QueryAdapter
string
\Zend_Cloud_DocumentService_QueryAdapter
limit(integer $limit) : \Zend_Cloud_DocumentService_QueryAdapter
integer
\Zend_Cloud_DocumentService_QueryAdapter
order(string $sort, string $direction = 'asc'
) : \Zend_Cloud_DocumentService_QueryAdapter
string
Column to sort by
string
Direction - asc/desc
\Zend_Cloud_DocumentService_QueryAdapter
select(string $select) : \Zend_Cloud_DocumentService_QueryAdapter
string
\Zend_Cloud_DocumentService_QueryAdapter
where(string $where, mixed $value= null
, string $op= 'and'
) : \Zend_Cloud_DocumentService_QueryAdapter
string
mixed
Value or array of values to be inserted instead of ?
string
Operation to use to join where clauses (AND/OR)
\Zend_Cloud_DocumentService_QueryAdapter
whereId(mixed $value) : \Zend_Cloud_DocumentService_QueryAdapter
This one should be used when fetching specific rows since some adapters have special syntax for primary keys
mixed
Row ID for the document
\Zend_Cloud_DocumentService_QueryAdapter