Class JPAComparisonOperatorImp<T extends Comparable<T>>
java.lang.Object
com.sap.olingo.jpa.processor.core.filter.JPAComparisonOperatorImp<T>
- All Implemented Interfaces:
JPAComparisonOperator<T>,JPAExpression,JPAExpressionOperator,JPAOperator
public class JPAComparisonOperatorImp<T extends Comparable<T>>
extends Object
implements JPAComparisonOperator<T>
-
Constructor Summary
ConstructorsConstructorDescriptionJPAComparisonOperatorImp(JPAOperationConverter converter, org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind operator, JPAOperator left, JPAOperator right) -
Method Summary
-
Constructor Details
-
JPAComparisonOperatorImp
public JPAComparisonOperatorImp(JPAOperationConverter converter, org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind operator, JPAOperator left, JPAOperator right)
-
-
Method Details
-
get
public javax.persistence.criteria.Expression<Boolean> get() throws org.apache.olingo.server.api.ODataApplicationException- Specified by:
getin interfaceJPAExpression- Specified by:
getin interfaceJPAOperator- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
getOperator
public org.apache.olingo.server.api.uri.queryoption.expression.BinaryOperatorKind getOperator()- Specified by:
getOperatorin interfaceJPAExpressionOperator
-
getLeft
public javax.persistence.criteria.Expression<T> getLeft() throws org.apache.olingo.server.api.ODataApplicationException- Specified by:
getLeftin interfaceJPAComparisonOperator<T extends Comparable<T>>- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
getRight
- Specified by:
getRightin interfaceJPAComparisonOperator<T extends Comparable<T>>
-
getRightAsComparable
public Comparable<T> getRightAsComparable() throws org.apache.olingo.server.api.ODataApplicationException- Specified by:
getRightAsComparablein interfaceJPAComparisonOperator<T extends Comparable<T>>- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
getRightAsExpression
public javax.persistence.criteria.Expression<T> getRightAsExpression() throws org.apache.olingo.server.api.ODataApplicationException- Specified by:
getRightAsExpressionin interfaceJPAComparisonOperator<T extends Comparable<T>>- Throws:
org.apache.olingo.server.api.ODataApplicationException
-
getName
- Specified by:
getNamein interfaceJPAOperator
-