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 voidbindVariables(QueryObjectModelImpl qom)DynamicOperandImplgetOperand1()StaticOperandImplgetOperand2()StringgetOperator()protected Stringprotect(Object expression)protected StringquoteColumnName(String name)protected StringquoteNodeTypeName(String name)protected StringquotePath(String path)protected StringquotePropertyName(String name)protected StringquoteSelectorName(String name)StringtoString()
-
-
-
Constructor Detail
-
ComparisonImpl
public ComparisonImpl(DynamicOperandImpl operand1, Operator operator, StaticOperandImpl operand2)
-
-
Method Detail
-
getOperand1
public DynamicOperandImpl getOperand1()
- Specified by:
getOperand1in interfaceComparison
-
getOperator
public String getOperator()
- Specified by:
getOperatorin interfaceComparison
-
getOperand2
public StaticOperandImpl getOperand2()
- Specified by:
getOperand2in interfaceComparison
-
bindVariables
public void bindVariables(QueryObjectModelImpl qom)
- Specified by:
bindVariablesin classConstraintImpl
-
-