PHP Class Jackalope\Query\QOM\QueryObjectModelFactory

Inheritance: implements PHPCR\Query\QOM\QueryObjectModelFactoryInterface
显示文件 Open project: jackalope/jackalope Class Usage Examples

Protected Properties

Property Type Description
$factory Jackalope\FactoryInterface The factory to instantiate objects
$objectManager Jackalope\ObjectManager

Public Methods

Method Description
__construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager = null ) Create the query object model factory - get this from the QueryManager
andConstraint ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 ) {@inheritDoc}
ascending ( PHPCR\Query\QOM\DynamicOperandInterface $operand ) {@inheritDoc}
bindVariable ( $bindVariableName ) {@inheritDoc}
childNode ( $selectorName, $path ) {@inheritDoc}
childNodeJoinCondition ( $childSelectorName, $parentSelectorName ) {@inheritDoc}
column ( $selectorName, $propertyName = null, $columnName = null ) {@inheritDoc}
comparison ( PHPCR\Query\QOM\DynamicOperandInterface $operand1, $operator, PHPCR\Query\QOM\StaticOperandInterface $operand2 ) {@inheritDoc}
createQuery ( PHPCR\Query\QOM\SourceInterface $source, PHPCR\Query\QOM\ConstraintInterface $constraint = null, array $orderings = [], array $columns = [] ) {@inheritDoc}
descendantNode ( $selectorName, $path ) {@inheritDoc}
descendantNodeJoinCondition ( $descendantSelectorName, $ancestorSelectorName ) {@inheritDoc}
descending ( PHPCR\Query\QOM\DynamicOperandInterface $operand ) {@inheritDoc}
equiJoinCondition ( $selector1Name, $property1Name, $selector2Name, $property2Name ) {@inheritDoc}
fullTextSearch ( $selectorName, $propertyName, $fullTextSearchExpression ) {@inheritDoc}
fullTextSearchScore ( $selectorName ) {@inheritDoc}
join ( PHPCR\Query\QOM\SourceInterface $left, PHPCR\Query\QOM\SourceInterface $right, $joinType, PHPCR\Query\QOM\JoinConditionInterface $joinCondition ) {@inheritDoc}
length ( PHPCR\Query\QOM\PropertyValueInterface $propertyValue ) {@inheritDoc}
literal ( $literalValue ) {@inheritDoc}
lowerCase ( PHPCR\Query\QOM\DynamicOperandInterface $operand ) {@inheritDoc}
nodeLocalName ( $selectorName ) {@inheritDoc}
nodeName ( $selectorName ) {@inheritDoc}
notConstraint ( PHPCR\Query\QOM\ConstraintInterface $constraint ) {@inheritDoc}
orConstraint ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 ) {@inheritDoc}
propertyExistence ( $selectorName, $propertyName ) {@inheritDoc}
propertyValue ( $selectorName, $propertyName ) {@inheritDoc}
sameNode ( $selectorName, $path ) {@inheritDoc}
sameNodeJoinCondition ( $selector1Name, $selector2Name, $selector2Path = null ) {@inheritDoc}
selector ( $selectorName, $nodeTypeName ) {@inheritDoc}
upperCase ( PHPCR\Query\QOM\DynamicOperandInterface $operand ) {@inheritDoc}

Method Details

__construct() public method

Create the query object model factory - get this from the QueryManager
public __construct ( Jackalope\FactoryInterface $factory, ObjectManager $objectManager = null )
$factory Jackalope\FactoryInterface the object factory
$objectManager Jackalope\ObjectManager only used to create the query (can be omitted if you do not want to execute the query but just use it with a parser)

andConstraint() public method

{@inheritDoc}
public andConstraint ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 )
$constraint1 PHPCR\Query\QOM\ConstraintInterface
$constraint2 PHPCR\Query\QOM\ConstraintInterface

ascending() public method

{@inheritDoc}
public ascending ( PHPCR\Query\QOM\DynamicOperandInterface $operand )
$operand PHPCR\Query\QOM\DynamicOperandInterface

bindVariable() public method

{@inheritDoc}
public bindVariable ( $bindVariableName )

childNode() public method

{@inheritDoc}
public childNode ( $selectorName, $path )

childNodeJoinCondition() public method

{@inheritDoc}
public childNodeJoinCondition ( $childSelectorName, $parentSelectorName )

column() public method

{@inheritDoc}
public column ( $selectorName, $propertyName = null, $columnName = null )

comparison() public method

{@inheritDoc}
public comparison ( PHPCR\Query\QOM\DynamicOperandInterface $operand1, $operator, PHPCR\Query\QOM\StaticOperandInterface $operand2 )
$operand1 PHPCR\Query\QOM\DynamicOperandInterface
$operand2 PHPCR\Query\QOM\StaticOperandInterface

createQuery() public method

{@inheritDoc}
public createQuery ( PHPCR\Query\QOM\SourceInterface $source, PHPCR\Query\QOM\ConstraintInterface $constraint = null, array $orderings = [], array $columns = [] )
$source PHPCR\Query\QOM\SourceInterface
$constraint PHPCR\Query\QOM\ConstraintInterface
$orderings array
$columns array

descendantNode() public method

{@inheritDoc}
public descendantNode ( $selectorName, $path )

descendantNodeJoinCondition() public method

{@inheritDoc}
public descendantNodeJoinCondition ( $descendantSelectorName, $ancestorSelectorName )

descending() public method

{@inheritDoc}
public descending ( PHPCR\Query\QOM\DynamicOperandInterface $operand )
$operand PHPCR\Query\QOM\DynamicOperandInterface

equiJoinCondition() public method

{@inheritDoc}
public equiJoinCondition ( $selector1Name, $property1Name, $selector2Name, $property2Name )

fullTextSearch() public method

{@inheritDoc}
public fullTextSearch ( $selectorName, $propertyName, $fullTextSearchExpression )

fullTextSearchScore() public method

{@inheritDoc}
public fullTextSearchScore ( $selectorName )

join() public method

{@inheritDoc}
public join ( PHPCR\Query\QOM\SourceInterface $left, PHPCR\Query\QOM\SourceInterface $right, $joinType, PHPCR\Query\QOM\JoinConditionInterface $joinCondition )
$left PHPCR\Query\QOM\SourceInterface
$right PHPCR\Query\QOM\SourceInterface
$joinCondition PHPCR\Query\QOM\JoinConditionInterface

length() public method

{@inheritDoc}
public length ( PHPCR\Query\QOM\PropertyValueInterface $propertyValue )
$propertyValue PHPCR\Query\QOM\PropertyValueInterface

literal() public method

{@inheritDoc}
public literal ( $literalValue )

lowerCase() public method

{@inheritDoc}
public lowerCase ( PHPCR\Query\QOM\DynamicOperandInterface $operand )
$operand PHPCR\Query\QOM\DynamicOperandInterface

nodeLocalName() public method

{@inheritDoc}
public nodeLocalName ( $selectorName )

nodeName() public method

{@inheritDoc}
public nodeName ( $selectorName )

notConstraint() public method

{@inheritDoc}
public notConstraint ( PHPCR\Query\QOM\ConstraintInterface $constraint )
$constraint PHPCR\Query\QOM\ConstraintInterface

orConstraint() public method

{@inheritDoc}
public orConstraint ( PHPCR\Query\QOM\ConstraintInterface $constraint1, PHPCR\Query\QOM\ConstraintInterface $constraint2 )
$constraint1 PHPCR\Query\QOM\ConstraintInterface
$constraint2 PHPCR\Query\QOM\ConstraintInterface

propertyExistence() public method

{@inheritDoc}
public propertyExistence ( $selectorName, $propertyName )

propertyValue() public method

{@inheritDoc}
public propertyValue ( $selectorName, $propertyName )

sameNode() public method

{@inheritDoc}
public sameNode ( $selectorName, $path )

sameNodeJoinCondition() public method

{@inheritDoc}
public sameNodeJoinCondition ( $selector1Name, $selector2Name, $selector2Path = null )

selector() public method

{@inheritDoc}
public selector ( $selectorName, $nodeTypeName )

upperCase() public method

{@inheritDoc}
public upperCase ( PHPCR\Query\QOM\DynamicOperandInterface $operand )
$operand PHPCR\Query\QOM\DynamicOperandInterface

Property Details

$factory protected_oe property

The factory to instantiate objects
protected FactoryInterface,Jackalope $factory
return Jackalope\FactoryInterface

$objectManager protected_oe property

protected ObjectManager,Jackalope $objectManager
return Jackalope\ObjectManager