Class ComparisonPredicate
java.lang.Object
org.hibernate.sql.ast.tree.predicate.ComparisonPredicate
- All Implemented Interfaces:
DomainResultProducer<Boolean>
,SqlSelectionProducer
,Expression
,Predicate
,SqlAstNode
-
Constructor Summary
ConstructorDescriptionComparisonPredicate
(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression) ComparisonPredicate
(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression, JdbcMappingContainer expressionType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) The type for this expressionboolean
isEmpty()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.sql.ast.tree.expression.Expression
createDomainResultSqlSelection, createSqlSelection, getColumnReference
Methods inherited from interface org.hibernate.sql.ast.tree.predicate.Predicate
applySqlSelections, createDomainResult
-
Constructor Details
-
ComparisonPredicate
public ComparisonPredicate(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression) -
ComparisonPredicate
public ComparisonPredicate(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression, JdbcMappingContainer expressionType)
-
-
Method Details
-
getLeftHandExpression
-
getRightHandExpression
-
getOperator
-
isEmpty
public boolean isEmpty() -
accept
- Specified by:
accept
in interfaceSqlAstNode
-
getExpressionType
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-