Class OracleSpatialProjection
- java.lang.Object
-
- org.hibernate.criterion.SimpleProjection
-
- org.hibernate.spatial.dialect.oracle.criterion.OracleSpatialProjection
-
- All Implemented Interfaces:
Serializable,org.hibernate.criterion.EnhancedProjection,org.hibernate.criterion.Projection
public class OracleSpatialProjection extends org.hibernate.criterion.SimpleProjectionTemplate class for Spatial Projections- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OracleSpatialProjection(int aggregate, 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)StringtoSqlString(org.hibernate.Criteria criteria, int position, org.hibernate.criterion.CriteriaQuery criteriaQuery)StringtoString()
-
-
-
Constructor Detail
-
OracleSpatialProjection
public OracleSpatialProjection(int aggregate, String propertyName)Constructs an instance for the specified aggregate function and property- Parameters:
aggregate- The aggregate function (a value ofOracleSpatialAggregatepropertyName- The name of the geometry property
-
-
Method Detail
-
toSqlString
public 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
-
-