Class ComparisonPredicate
- java.lang.Object
-
- org.hibernate.sql.ast.tree.predicate.ComparisonPredicate
-
- All Implemented Interfaces:
DomainResultProducer<Boolean>
,SqlSelectionProducer
,Expression
,Predicate
,SqlAstNode
public class ComparisonPredicate extends Object implements Predicate
-
-
Constructor Summary
Constructors Constructor Description ComparisonPredicate(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression)
ComparisonPredicate(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression, JdbcMappingContainer expressionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(SqlAstWalker sqlTreeWalker)
JdbcMappingContainer
getExpressionType()
The type for this expressionExpression
getLeftHandExpression()
ComparisonOperator
getOperator()
Expression
getRightHandExpression()
boolean
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, createDomainResultSqlSelection, createSqlSelection, createSqlSelection, getColumnReference
-
Methods inherited from interface org.hibernate.sql.ast.tree.predicate.Predicate
applySqlSelections, createDomainResult
-
-
-
-
Constructor Detail
-
ComparisonPredicate
public ComparisonPredicate(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression)
-
ComparisonPredicate
public ComparisonPredicate(Expression leftHandExpression, ComparisonOperator operator, Expression rightHandExpression, JdbcMappingContainer expressionType)
-
-
Method Detail
-
getLeftHandExpression
public Expression getLeftHandExpression()
-
getRightHandExpression
public Expression getRightHandExpression()
-
getOperator
public ComparisonOperator getOperator()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
accept
in interfaceSqlAstNode
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:Expression
The type for this expression- Specified by:
getExpressionType
in interfaceExpression
-
-