public class IsEmptyExpression extends Object implements org.hibernate.criterion.Criterion
Criterion constraining a geometry property to be (non-)empty.| Constructor and Description |
|---|
IsEmptyExpression(String propertyName,
boolean isEmpty)
Constructs an instance for the specified property
|
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.engine.spi.TypedValue[] |
getTypedValues(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery) |
String |
toSqlString(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery) |
public IsEmptyExpression(String propertyName, boolean isEmpty)
propertyName - The name of the property being constrainedisEmpty - Whether to constrain the property to be empty or non-emptypublic String toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException
toSqlString in interface org.hibernate.criterion.Criterionorg.hibernate.HibernateExceptionpublic org.hibernate.engine.spi.TypedValue[] getTypedValues(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery)
throws org.hibernate.HibernateException
getTypedValues in interface org.hibernate.criterion.Criterionorg.hibernate.HibernateExceptionCopyright © 2001-2020 Red Hat, Inc. All Rights Reserved.