Class QueryObjectModelFactoryImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.query.qom.QueryObjectModelFactoryImpl
-
- All Implemented Interfaces:
QueryObjectModelConstants,QueryObjectModelFactory
public class QueryObjectModelFactoryImpl extends Object implements QueryObjectModelFactory
The implementation of the corresponding JCR interface.
-
-
Field Summary
-
Fields inherited from interface javax.jcr.query.qom.QueryObjectModelConstants
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 Summary
Constructors Constructor Description QueryObjectModelFactoryImpl(QueryManagerImpl queryManager, SessionContext sessionContext)
-
Method Summary
-
-
-
Constructor Detail
-
QueryObjectModelFactoryImpl
public QueryObjectModelFactoryImpl(QueryManagerImpl queryManager, SessionContext sessionContext)
-
-
Method Detail
-
and
public AndImpl and(Constraint constraint1, Constraint constraint2)
- Specified by:
andin interfaceQueryObjectModelFactory
-
ascending
public OrderingImpl ascending(DynamicOperand operand)
- Specified by:
ascendingin interfaceQueryObjectModelFactory
-
bindVariable
public BindVariableValueImpl bindVariable(String bindVariableName)
- Specified by:
bindVariablein interfaceQueryObjectModelFactory
-
childNode
public ChildNode childNode(String selectorName, String path)
- Specified by:
childNodein interfaceQueryObjectModelFactory
-
childNodeJoinCondition
public ChildNodeJoinCondition childNodeJoinCondition(String childSelectorName, String parentSelectorName)
- Specified by:
childNodeJoinConditionin interfaceQueryObjectModelFactory
-
column
public Column column(String selectorName, String propertyName, String columnName) throws RepositoryException
- Specified by:
columnin interfaceQueryObjectModelFactory- Throws:
RepositoryException
-
comparison
public Comparison comparison(DynamicOperand operand1, String operator, StaticOperand operand2)
- Specified by:
comparisonin interfaceQueryObjectModelFactory
-
descendantNode
public DescendantNode descendantNode(String selectorName, String path)
- Specified by:
descendantNodein interfaceQueryObjectModelFactory
-
descendantNodeJoinCondition
public DescendantNodeJoinCondition descendantNodeJoinCondition(String descendantSelectorName, String ancestorSelectorName)
- Specified by:
descendantNodeJoinConditionin interfaceQueryObjectModelFactory
-
descending
public Ordering descending(DynamicOperand operand)
- Specified by:
descendingin interfaceQueryObjectModelFactory
-
equiJoinCondition
public EquiJoinCondition equiJoinCondition(String selector1Name, String property1Name, String selector2Name, String property2Name) throws RepositoryException
- Specified by:
equiJoinConditionin interfaceQueryObjectModelFactory- Throws:
RepositoryException
-
fullTextSearch
public FullTextSearch fullTextSearch(String selectorName, String propertyName, StaticOperand fullTextSearchExpression) throws RepositoryException
- Specified by:
fullTextSearchin interfaceQueryObjectModelFactory- Throws:
RepositoryException
-
fullTextSearchScore
public FullTextSearchScore fullTextSearchScore(String selectorName)
- Specified by:
fullTextSearchScorein interfaceQueryObjectModelFactory
-
join
public Join join(Source left, Source right, String joinType, JoinCondition joinCondition)
- Specified by:
joinin interfaceQueryObjectModelFactory
-
length
public Length length(PropertyValue propertyValue)
- Specified by:
lengthin interfaceQueryObjectModelFactory
-
literal
public Literal literal(Value literalValue)
- Specified by:
literalin interfaceQueryObjectModelFactory
-
lowerCase
public LowerCase lowerCase(DynamicOperand operand)
- Specified by:
lowerCasein interfaceQueryObjectModelFactory
-
nodeLocalName
public NodeLocalName nodeLocalName(String selectorName)
- Specified by:
nodeLocalNamein interfaceQueryObjectModelFactory
-
nodeName
public NodeName nodeName(String selectorName)
- Specified by:
nodeNamein interfaceQueryObjectModelFactory
-
not
public Not not(Constraint constraint)
- Specified by:
notin interfaceQueryObjectModelFactory
-
or
public Or or(Constraint constraint1, Constraint constraint2)
- Specified by:
orin interfaceQueryObjectModelFactory
-
propertyExistence
public PropertyExistence propertyExistence(String selectorName, String propertyName) throws RepositoryException
- Specified by:
propertyExistencein interfaceQueryObjectModelFactory- Throws:
RepositoryException
-
propertyValue
public PropertyValue propertyValue(String selectorName, String propertyName) throws RepositoryException
- Specified by:
propertyValuein interfaceQueryObjectModelFactory- Throws:
RepositoryException
-
sameNode
public SameNode sameNode(String selectorName, String path)
- Specified by:
sameNodein interfaceQueryObjectModelFactory
-
sameNodeJoinCondition
public SameNodeJoinCondition sameNodeJoinCondition(String selector1Name, String selector2Name, String selector2Path)
- Specified by:
sameNodeJoinConditionin interfaceQueryObjectModelFactory
-
selector
public Selector selector(String nodeTypeName, String selectorName) throws RepositoryException
- Specified by:
selectorin interfaceQueryObjectModelFactory- Throws:
RepositoryException
-
upperCase
public UpperCase upperCase(DynamicOperand operand)
- Specified by:
upperCasein interfaceQueryObjectModelFactory
-
createQuery
public QueryObjectModel createQuery(Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
- Specified by:
createQueryin interfaceQueryObjectModelFactory
-
-