org.hibernatespatial.criterion
Class SpatialRelateExpression
java.lang.Object
org.hibernatespatial.criterion.SpatialRelateExpression
- All Implemented Interfaces:
- Serializable, org.hibernate.criterion.Criterion
public class SpatialRelateExpression
- extends Object
- implements org.hibernate.criterion.Criterion
An implementation of the Criterion
interface that implements
spatial queries: queries to the effect that a geometry property has a
specific spatial relation to a test geometry
- Author:
- Karel Maesen
- See Also:
- Serialized Form
Method Summary |
org.hibernate.engine.TypedValue[] |
getTypedValues(org.hibernate.Criteria criteria,
org.hibernate.criterion.CriteriaQuery criteriaQuery)
|
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 |
SpatialRelateExpression
public SpatialRelateExpression(String propertyName,
com.vividsolutions.jts.geom.Geometry value,
int spatialRelation)
getTypedValues
public org.hibernate.engine.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
toSqlString
public 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
Copyright © 2011 hibernatespatial.org. All Rights Reserved.