public class QueryObjectModelFactoryImpl extends Object implements QueryObjectModelFactory
JCR_JOIN_TYPE_INNER, JCR_JOIN_TYPE_LEFT_OUTER, JCR_JOIN_TYPE_RIGHT_OUTER, JCR_OPERATOR_EQUAL_TO, JCR_OPERATOR_GREATER_THAN, JCR_OPERATOR_GREATER_THAN_OR_EQUAL_TO, JCR_OPERATOR_LESS_THAN, JCR_OPERATOR_LESS_THAN_OR_EQUAL_TO, JCR_OPERATOR_LIKE, JCR_OPERATOR_NOT_EQUAL_TO, JCR_ORDER_ASCENDING, JCR_ORDER_DESCENDING
Constructor and Description |
---|
QueryObjectModelFactoryImpl(QueryManagerImpl queryManager,
SessionContext sessionContext) |
public QueryObjectModelFactoryImpl(QueryManagerImpl queryManager, SessionContext sessionContext)
public AndImpl and(Constraint constraint1, Constraint constraint2)
and
in interface QueryObjectModelFactory
public OrderingImpl ascending(DynamicOperand operand)
ascending
in interface QueryObjectModelFactory
public BindVariableValueImpl bindVariable(String bindVariableName)
bindVariable
in interface QueryObjectModelFactory
public ChildNode childNode(String selectorName, String path)
childNode
in interface QueryObjectModelFactory
public ChildNodeJoinCondition childNodeJoinCondition(String childSelectorName, String parentSelectorName)
childNodeJoinCondition
in interface QueryObjectModelFactory
public Column column(String selectorName, String propertyName, String columnName) throws RepositoryException
column
in interface QueryObjectModelFactory
RepositoryException
public Comparison comparison(DynamicOperand operand1, String operator, StaticOperand operand2)
comparison
in interface QueryObjectModelFactory
public DescendantNode descendantNode(String selectorName, String path)
descendantNode
in interface QueryObjectModelFactory
public DescendantNodeJoinCondition descendantNodeJoinCondition(String descendantSelectorName, String ancestorSelectorName)
descendantNodeJoinCondition
in interface QueryObjectModelFactory
public Ordering descending(DynamicOperand operand)
descending
in interface QueryObjectModelFactory
public EquiJoinCondition equiJoinCondition(String selector1Name, String property1Name, String selector2Name, String property2Name) throws RepositoryException
equiJoinCondition
in interface QueryObjectModelFactory
RepositoryException
public FullTextSearch fullTextSearch(String selectorName, String propertyName, StaticOperand fullTextSearchExpression) throws RepositoryException
fullTextSearch
in interface QueryObjectModelFactory
RepositoryException
public FullTextSearchScore fullTextSearchScore(String selectorName)
fullTextSearchScore
in interface QueryObjectModelFactory
public Join join(Source left, Source right, String joinType, JoinCondition joinCondition)
join
in interface QueryObjectModelFactory
public Length length(PropertyValue propertyValue)
length
in interface QueryObjectModelFactory
public Literal literal(Value literalValue)
literal
in interface QueryObjectModelFactory
public LowerCase lowerCase(DynamicOperand operand)
lowerCase
in interface QueryObjectModelFactory
public NodeLocalName nodeLocalName(String selectorName)
nodeLocalName
in interface QueryObjectModelFactory
public NodeName nodeName(String selectorName)
nodeName
in interface QueryObjectModelFactory
public Not not(Constraint constraint)
not
in interface QueryObjectModelFactory
public Or or(Constraint constraint1, Constraint constraint2)
or
in interface QueryObjectModelFactory
public PropertyExistence propertyExistence(String selectorName, String propertyName) throws RepositoryException
propertyExistence
in interface QueryObjectModelFactory
RepositoryException
public PropertyValue propertyValue(String selectorName, String propertyName) throws RepositoryException
propertyValue
in interface QueryObjectModelFactory
RepositoryException
public SameNode sameNode(String selectorName, String path)
sameNode
in interface QueryObjectModelFactory
public SameNodeJoinCondition sameNodeJoinCondition(String selector1Name, String selector2Name, String selector2Path)
sameNodeJoinCondition
in interface QueryObjectModelFactory
public Selector selector(String nodeTypeName, String selectorName) throws RepositoryException
selector
in interface QueryObjectModelFactory
RepositoryException
public UpperCase upperCase(DynamicOperand operand)
upperCase
in interface QueryObjectModelFactory
public QueryObjectModel createQuery(Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
createQuery
in interface QueryObjectModelFactory
Copyright © 2012–2020 The Apache Software Foundation. All rights reserved.