Property | Type | Description | |
---|---|---|---|
$factory | Jackalope\FactoryInterface | The factory to instantiate objects | |
$limit | integer | Limit for the query | |
$objectManager | The object manager to execute the query with. | ||
$offset | integer | Offset to start results from | |
$path | string | If this is a stored query, the path to the node that stores this query. | |
$statement | string | The query statement |
Method | Description | |
---|---|---|
__construct ( Jackalope\FactoryInterface $factory, string $statement, |
Create a new query instance | |
bindValue ( $varName, $value ) | {@inheritDoc} | |
cancel ( ) | {@inheritDoc} | |
execute ( ) | {@inheritDoc} | |
getBindVariableNames ( ) | {@inheritDoc} | |
getLimit ( ) : integer | Access the limit from the transport layer | |
getOffset ( ) : integer | Access the offset from the transport layer | |
getStatement ( ) | {@inheritDoc} | |
getStoredQueryPath ( ) | {@inheritDoc} | |
setLimit ( $limit ) | {@inheritDoc} | |
setOffset ( $offset ) | {@inheritDoc} | |
storeAsNode ( $absPath ) | {@inheritDoc} |
public __construct ( Jackalope\FactoryInterface $factory, string $statement, |
||
$factory | Jackalope\FactoryInterface | the object factory |
$statement | string | The statement for this query |
$objectManager | (can be omitted if you do not want to execute the query but just use it with a parser) | |
$path | string | If this query is loaded from workspace with QueryManager::getQuery(), path has to be provided here |
protected FactoryInterface,Jackalope $factory | ||
return | Jackalope\FactoryInterface |
protected ObjectManager,Jackalope $objectManager | ||
return |
protected string $path | ||
return | string |