public abstract class SubqueryExpression extends Object implements Criterion
Modifier | Constructor and Description |
---|---|
protected |
SubqueryExpression(String op,
String quantifier,
DetachedCriteria dc) |
Modifier and Type | Method and Description |
---|---|
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
protected Type[] |
getTypes() |
protected abstract String |
toLeftSqlString(Criteria criteria,
CriteriaQuery outerQuery) |
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
protected SubqueryExpression(String op, String quantifier, DetachedCriteria dc)
protected Type[] getTypes()
protected abstract String toLeftSqlString(Criteria criteria, CriteriaQuery outerQuery)
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
getTypedValues
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem determining types.Copyright © 2017 JBoss by Red Hat. All rights reserved.