Class ComparisonImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.jcr.query.qom.ConstraintImpl
-
- org.apache.jackrabbit.oak.jcr.query.qom.ComparisonImpl
-
- All Implemented Interfaces:
Comparison
,Constraint
public class ComparisonImpl extends ConstraintImpl implements Comparison
The implementation of the corresponding JCR interface.
-
-
Constructor Summary
Constructors Constructor Description ComparisonImpl(DynamicOperandImpl operand1, Operator operator, StaticOperandImpl operand2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindVariables(QueryObjectModelImpl qom)
DynamicOperandImpl
getOperand1()
StaticOperandImpl
getOperand2()
String
getOperator()
protected String
protect(Object expression)
protected String
quoteColumnName(String name)
protected String
quoteNodeTypeName(String name)
protected String
quotePath(String path)
protected String
quotePropertyName(String name)
protected String
quoteSelectorName(String name)
String
toString()
-
-
-
Constructor Detail
-
ComparisonImpl
public ComparisonImpl(DynamicOperandImpl operand1, Operator operator, StaticOperandImpl operand2)
-
-
Method Detail
-
getOperand1
public DynamicOperandImpl getOperand1()
- Specified by:
getOperand1
in interfaceComparison
-
getOperator
public String getOperator()
- Specified by:
getOperator
in interfaceComparison
-
getOperand2
public StaticOperandImpl getOperand2()
- Specified by:
getOperand2
in interfaceComparison
-
bindVariables
public void bindVariables(QueryObjectModelImpl qom)
- Specified by:
bindVariables
in classConstraintImpl
-
-