Class ExistsPredicate
- java.lang.Object
-
- org.hibernate.sql.ast.tree.predicate.ExistsPredicate
-
- All Implemented Interfaces:
DomainResultProducer<Boolean>,SqlSelectionProducer,Expression,Predicate,SqlAstNode
public class ExistsPredicate extends Object implements Predicate
-
-
Constructor Summary
Constructors Constructor Description ExistsPredicate(QueryPart expression, boolean negated, JdbcMappingContainer expressionType)ExistsPredicate(SelectStatement expression, boolean negated, JdbcMappingContainer expressionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(SqlAstWalker sqlTreeWalker)SelectStatementgetExpression()JdbcMappingContainergetExpressionType()The type for this expressionbooleanisEmpty()booleanisNegated()-
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
-
ExistsPredicate
public ExistsPredicate(QueryPart expression, boolean negated, JdbcMappingContainer expressionType)
-
ExistsPredicate
public ExistsPredicate(SelectStatement expression, boolean negated, JdbcMappingContainer expressionType)
-
-
Method Detail
-
getExpression
public SelectStatement getExpression()
-
isNegated
public boolean isNegated()
-
accept
public void accept(SqlAstWalker sqlTreeWalker)
- Specified by:
acceptin interfaceSqlAstNode
-
getExpressionType
public JdbcMappingContainer getExpressionType()
Description copied from interface:ExpressionThe type for this expression- Specified by:
getExpressionTypein interfaceExpression
-
-