Class OracleSpatialRestrictions
- java.lang.Object
-
- org.hibernate.spatial.dialect.oracle.criterion.OracleSpatialRestrictions
-
public class OracleSpatialRestrictions extends Object
A static factory class for spatial criteria using the Oracle Spatial native spatial operators for the SDO_GEOMTRY type.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.hibernate.criterion.CriterionSDOFilter(String propertyName, com.vividsolutions.jts.geom.Geometry geom, Double minResolution, Double maxResolution)Apply the "SDO_FILTER" constraint to the specified property, using the specified parametersstatic org.hibernate.criterion.CriterionSDOFilter(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_FILTER" constraint to the specified property, using the specified parametersstatic org.hibernate.criterion.CriterionSDONN(String propertyName, com.vividsolutions.jts.geom.Geometry geom, Double distance, Integer numResults, String unit)Apply the "SDO_NN" constraint to the specified property, using the specified parametersstatic org.hibernate.criterion.CriterionSDONN(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_NN" constraint to the specified property, using the specifiedSDOParameterMapstatic org.hibernate.criterion.CriterionSDORelate(String propertyName, com.vividsolutions.jts.geom.Geometry geom, RelationshipMask[] mask, Double minResolution, Double maxResolution)Apply the "SDO_RELATE" constraint to the specified property, using the specified parameters.static org.hibernate.criterion.CriterionSDORelate(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_RELATE" constraint to the specified property, using the specifiedSDOParameterMapstatic org.hibernate.criterion.CriterionSDOWithinDistance(String propertyName, com.vividsolutions.jts.geom.Geometry geom, Double distance, SDOParameterMap param)Apply the "SDO_WITHIN_DISTANCE" constraint to the specified property, using the specifiedSDOParameterMap.static org.hibernate.criterion.CriterionSDOWithinDistance(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_WITHIN_DISTANCE" constraint to the specified property, using the specifiedSDOParameterMap.
-
-
-
Method Detail
-
SDOFilter
public static org.hibernate.criterion.Criterion SDOFilter(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)
Apply the "SDO_FILTER" constraint to the specified property, using the specified parameters- Parameters:
propertyName- The name of the proertygeom- The search geometry to use in the constraintparam- The function parameters for the SDO_FILTER- Returns:
- The Criterion
-
SDOFilter
public static org.hibernate.criterion.Criterion SDOFilter(String propertyName, com.vividsolutions.jts.geom.Geometry geom, Double minResolution, Double maxResolution)
Apply the "SDO_FILTER" constraint to the specified property, using the specified parameters- Parameters:
propertyName- The name of the proertygeom- The search geometry to use in the constraintminResolution- The min_resolution parametermaxResolution- The max_resolution parameter- Returns:
- The Criterion
-
SDONN
public static org.hibernate.criterion.Criterion SDONN(String propertyName, com.vividsolutions.jts.geom.Geometry geom, Double distance, Integer numResults, String unit)
Apply the "SDO_NN" constraint to the specified property, using the specified parameters- Parameters:
propertyName- The name of the propertygeom- The search geometry to use in the constraintdistance- The distance parameternumResults- The num_results parameterunit- The unit parameter- Returns:
- The Criterion
-
SDONN
public static org.hibernate.criterion.Criterion SDONN(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)
Apply the "SDO_NN" constraint to the specified property, using the specifiedSDOParameterMap- Parameters:
propertyName- The name of the propertygeom- The search geometry to use in the constraintparam- The parameters for the constraint function- Returns:
- The Criterion
-
SDORelate
public static org.hibernate.criterion.Criterion SDORelate(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)
Apply the "SDO_RELATE" constraint to the specified property, using the specifiedSDOParameterMap- Parameters:
propertyName- The name of the propertygeom- The search geometry to use in the constraintparam- The parameters for the constraint function- Returns:
- The Criterion
-
SDORelate
public static org.hibernate.criterion.Criterion SDORelate(String propertyName, com.vividsolutions.jts.geom.Geometry geom, RelationshipMask[] mask, Double minResolution, Double maxResolution)
Apply the "SDO_RELATE" constraint to the specified property, using the specified parameters.- Parameters:
propertyName- The name of the propertygeom- The search geometry to use in the constraintmask- The mask parameterminResolution- The min_resolution parametermaxResolution- The max_resolution parameter- Returns:
- The Criterion
-
SDOWithinDistance
public static org.hibernate.criterion.Criterion SDOWithinDistance(String propertyName, com.vividsolutions.jts.geom.Geometry geom, SDOParameterMap param)
Apply the "SDO_WITHIN_DISTANCE" constraint to the specified property, using the specifiedSDOParameterMap.- Parameters:
propertyName- The name of the propertygeom- The search geometry to use in the constraintparam- The parameters for the constraint function- Returns:
- The Criterion
-
SDOWithinDistance
public static org.hibernate.criterion.Criterion SDOWithinDistance(String propertyName, com.vividsolutions.jts.geom.Geometry geom, Double distance, SDOParameterMap param)
Apply the "SDO_WITHIN_DISTANCE" constraint to the specified property, using the specifiedSDOParameterMap.- Parameters:
propertyName- The name of the propertygeom- The search geometry to use in the constraintdistance- The distance parameter for the constraint functionparam- The parameters for the constraint function- Returns:
- The Criterion
-
-