public abstract class AbstractEmptinessExpression extends java.lang.Object implements Criterion
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
propertyName |
Modifier | Constructor and Description |
---|---|
protected |
AbstractEmptinessExpression(java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
excludeEmpty()
Should empty rows be excluded?
|
protected QueryableCollection |
getQueryableCollection(java.lang.String entityName,
java.lang.String propertyName,
SessionFactoryImplementor factory) |
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
java.lang.String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
java.lang.String |
toString() |
protected AbstractEmptinessExpression(java.lang.String propertyName)
protected abstract boolean excludeEmpty()
true
Indicates the expression should be 'exists'; false
indicates 'not exists'public final java.lang.String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.protected QueryableCollection getQueryableCollection(java.lang.String entityName, java.lang.String propertyName, SessionFactoryImplementor factory) throws HibernateException
HibernateException
public final TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
getTypedValues
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem determining types.public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.