Class IsEmptyExpression

  • All Implemented Interfaces:
    java.io.Serializable, org.hibernate.criterion.Criterion

    public class IsEmptyExpression
    extends java.lang.Object
    implements org.hibernate.criterion.Criterion
    A Criterion constraining a geometry property to be (non-)empty.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IsEmptyExpression​(java.lang.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)  
      java.lang.String toSqlString​(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IsEmptyExpression

        public IsEmptyExpression​(java.lang.String propertyName,
                                 boolean isEmpty)
        Constructs an instance for the specified property
        Parameters:
        propertyName - The name of the property being constrained
        isEmpty - Whether to constrain the property to be empty or non-empty
    • Method Detail

      • toSqlString

        public java.lang.String toSqlString​(org.hibernate.Criteria criteria,
                                            org.hibernate.criterion.CriteriaQuery criteriaQuery)
                                     throws org.hibernate.HibernateException
        Specified by:
        toSqlString in interface org.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:
        getTypedValues in interface org.hibernate.criterion.Criterion
        Throws:
        org.hibernate.HibernateException