Package org.hibernate.spatial.criterion
Class IsEmptyExpression
- java.lang.Object
-
- org.hibernate.spatial.criterion.IsEmptyExpression
-
- All Implemented Interfaces:
Serializable,org.hibernate.criterion.Criterion
public class IsEmptyExpression extends Object implements org.hibernate.criterion.Criterion
ACriterionconstraining a geometry property to be (non-)empty.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IsEmptyExpression(String propertyName, boolean isEmpty)Constructs an instance for the specified property
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.engine.spi.TypedValue[]getTypedValues(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)StringtoSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)
-
-
-
Constructor Detail
-
IsEmptyExpression
public IsEmptyExpression(String propertyName, boolean isEmpty)
Constructs an instance for the specified property- Parameters:
propertyName- The name of the property being constrainedisEmpty- Whether to constrain the property to be empty or non-empty
-
-
Method Detail
-
toSqlString
public String toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException
- Specified by:
toSqlStringin interfaceorg.hibernate.criterion.Criterion- Throws:
org.hibernate.HibernateException
-
getTypedValues
public org.hibernate.engine.spi.TypedValue[] getTypedValues(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException- Specified by:
getTypedValuesin interfaceorg.hibernate.criterion.Criterion- Throws:
org.hibernate.HibernateException
-
-