Package org.hibernate.criterion
Class ExistsSubqueryExpression
- java.lang.Object
-
- org.hibernate.criterion.SubqueryExpression
-
- org.hibernate.criterion.ExistsSubqueryExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Criterion
public class ExistsSubqueryExpression extends SubqueryExpression
Expression that checks the existence of rows in a sub-query- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExistsSubqueryExpression(java.lang.String quantifier, DetachedCriteria dc)
Constructs the ExistsSubqueryExpression
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
toLeftSqlString(Criteria criteria, CriteriaQuery outerQuery)
-
Methods inherited from class org.hibernate.criterion.SubqueryExpression
getTypedValues, getTypes, toSqlString
-
-
-
-
Constructor Detail
-
ExistsSubqueryExpression
protected ExistsSubqueryExpression(java.lang.String quantifier, DetachedCriteria dc)
Constructs the ExistsSubqueryExpression- Parameters:
quantifier
- The "exists"/"not exists" sub-query quantifierdc
- The DetachedCriteria representing the sub-query- See Also:
Subqueries.exists(org.hibernate.criterion.DetachedCriteria)
,Subqueries.notExists(org.hibernate.criterion.DetachedCriteria)
-
-
Method Detail
-
toLeftSqlString
protected java.lang.String toLeftSqlString(Criteria criteria, CriteriaQuery outerQuery)
- Specified by:
toLeftSqlString
in classSubqueryExpression
-
-