Class OracleSpatialProjection

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

    public class OracleSpatialProjection
    extends org.hibernate.criterion.SimpleProjection
    Template class for Spatial Projections
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      OracleSpatialProjection​(int aggregate, java.lang.String propertyName)
      Constructs an instance for the specified aggregate function and property
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.hibernate.type.Type[] getTypes​(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)  
      java.lang.String toSqlString​(org.hibernate.Criteria criteria, int position, org.hibernate.criterion.CriteriaQuery criteriaQuery)  
      java.lang.String toString()  
      • Methods inherited from class org.hibernate.criterion.SimpleProjection

        as, getAliases, getColumnAliases, getColumnAliases, getColumnAliases, getColumnAliases, getColumnCount, getTypes, isGrouped, toGroupSqlString
      • Methods inherited from class java.lang.Object

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

      • OracleSpatialProjection

        public OracleSpatialProjection​(int aggregate,
                                       java.lang.String propertyName)
        Constructs an instance for the specified aggregate function and property
        Parameters:
        aggregate - The aggregate function (a value of OracleSpatialAggregate
        propertyName - The name of the geometry property
    • Method Detail

      • toSqlString

        public java.lang.String toSqlString​(org.hibernate.Criteria criteria,
                                            int position,
                                            org.hibernate.criterion.CriteriaQuery criteriaQuery)
                                     throws org.hibernate.HibernateException
        Throws:
        org.hibernate.HibernateException
      • getTypes

        public org.hibernate.type.Type[] getTypes​(org.hibernate.Criteria criteria,
                                                  org.hibernate.criterion.CriteriaQuery criteriaQuery)
                                           throws org.hibernate.HibernateException
        Throws:
        org.hibernate.HibernateException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object