Cloud/DocumentService/Adapter/SimpleDb/Query.php
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Cloud
- Subpackage
- DocumentService
\Zend_Cloud_DocumentService_Adapter_SimpleDb_Query
Package: Zend_Cloud\DocumentService
Class implementing Query adapter for working with SimpleDb queries in a
structured way
Aggregates operations in an array of clauses, where the first element
describes the clause type, and the next element describes the criteria.
- Parent(s)
- \Zend_Cloud_DocumentService_Query
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
__construct(\Zend_Cloud_DocumentService_Adapter_SimpleDb $adapter, null | string $collectionName = null) : void
Constructor
Parameters
Name | Type | Description |
---|---|---|
$adapter | \Zend_Cloud_DocumentService_Adapter_SimpleDb | |
$collectionName | null | string |
_parseWhere(string $where, array $args) : string
Parse a where statement into service-specific language
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$where | string | |
$args | array |
Type | Description |
---|---|
string |
- Todo
- Ensure this fulfills the entire SimpleDB query specification for WHERE
assemble( $collectionName = null) : string
Assemble the query into a format the adapter can utilize
Parameters
Returns
Details
Name | Type | Description |
---|---|---|
$collectionName |
Type | Description |
---|---|
string |
- $collectionName
- string
Name of collection from which to select
getAdapter() : \Zend_Cloud_DocumentService_Adapter_SimpleDb
Get adapter
Returns
Type | Description |
---|---|
\Zend_Cloud_DocumentService_Adapter_SimpleDb |