public class SpatialRestrictions extends Object
Modifier | Constructor and Description |
---|---|
private |
SpatialRestrictions() |
Modifier and Type | Method and Description |
---|---|
static org.hibernate.criterion.Criterion |
contains(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
crosses(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
disjoint(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
distanceWithin(String propertyName,
com.vividsolutions.jts.geom.Geometry geometry,
double distance) |
static org.hibernate.criterion.Criterion |
eq(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
filter(String propertyName,
FilterConstants.SpatialOperator operator,
com.vividsolutions.jts.geom.Geometry geometry)
Get spatial filter restrictions.
|
static org.hibernate.criterion.Criterion |
havingSRID(String propertyName,
int srid) |
static org.hibernate.criterion.Criterion |
intersects(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
isEmpty(String propertyName) |
static org.hibernate.criterion.Criterion |
isNotEmpty(String propertyName) |
static org.hibernate.criterion.Criterion |
overlaps(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
spatialRestriction(int relation,
String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
touches(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
static org.hibernate.criterion.Criterion |
within(String propertyName,
com.vividsolutions.jts.geom.Geometry value) |
public static org.hibernate.criterion.Criterion filter(String propertyName, FilterConstants.SpatialOperator operator, com.vividsolutions.jts.geom.Geometry geometry) throws OwsExceptionReport
propertyName
- column nameoperator
- Spatial filtergeometry
- the geometryOwsExceptionReport
- If the spatial filter is not supportedpublic static org.hibernate.criterion.Criterion eq(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion within(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion contains(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion crosses(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion disjoint(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion intersects(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion overlaps(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion touches(String propertyName, com.vividsolutions.jts.geom.Geometry value)
public static org.hibernate.criterion.Criterion distanceWithin(String propertyName, com.vividsolutions.jts.geom.Geometry geometry, double distance)
public static org.hibernate.criterion.Criterion havingSRID(String propertyName, int srid)
public static org.hibernate.criterion.Criterion isEmpty(String propertyName)
public static org.hibernate.criterion.Criterion isNotEmpty(String propertyName)
public static org.hibernate.criterion.Criterion spatialRestriction(int relation, String propertyName, com.vividsolutions.jts.geom.Geometry value)
Copyright © 2012-2014 52north.org. All Rights Reserved.