Class ExistsPredicate
java.lang.Object
org.hibernate.sql.ast.tree.predicate.ExistsPredicate
- All Implemented Interfaces:
DomainResultProducer<Boolean>
,SqlSelectionProducer
,Expression
,Predicate
,SqlAstNode
-
Constructor Summary
ConstructorDescriptionExistsPredicate
(QueryPart expression, boolean negated, JdbcMappingContainer expressionType) ExistsPredicate
(SelectStatement expression, boolean negated, JdbcMappingContainer expressionType) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(SqlAstWalker sqlTreeWalker) The type for this expressionboolean
isEmpty()
boolean
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
-
ExistsPredicate
-
ExistsPredicate
public ExistsPredicate(SelectStatement expression, boolean negated, JdbcMappingContainer expressionType)
-
-
Method Details
-
getExpression
-
isNegated
public boolean isNegated() -
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
-