Class OracleSpatialRestrictions
- java.lang.Object
-
- org.hibernate.spatial.dialect.oracle.criterion.OracleSpatialRestrictions
-
public class OracleSpatialRestrictions extends java.lang.ObjectA 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(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, java.lang.Double minResolution, java.lang.Double maxResolution)Apply the "SDO_FILTER" constraint to the specified property, using the specified parametersstatic org.hibernate.criterion.CriterionSDOFilter(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_FILTER" constraint to the specified property, using the specified parametersstatic org.hibernate.criterion.CriterionSDONN(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, java.lang.Double distance, java.lang.Integer numResults, java.lang.String unit)Apply the "SDO_NN" constraint to the specified property, using the specified parametersstatic org.hibernate.criterion.CriterionSDONN(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_NN" constraint to the specified property, using the specifiedSDOParameterMapstatic org.hibernate.criterion.CriterionSDORelate(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, RelationshipMask[] mask, java.lang.Double minResolution, java.lang.Double maxResolution)Apply the "SDO_RELATE" constraint to the specified property, using the specified parameters.static org.hibernate.criterion.CriterionSDORelate(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, SDOParameterMap param)Apply the "SDO_RELATE" constraint to the specified property, using the specifiedSDOParameterMapstatic org.hibernate.criterion.CriterionSDOWithinDistance(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, java.lang.Double distance, SDOParameterMap param)Apply the "SDO_WITHIN_DISTANCE" constraint to the specified property, using the specifiedSDOParameterMap.static org.hibernate.criterion.CriterionSDOWithinDistance(java.lang.String propertyName, org.locationtech.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(java.lang.String propertyName, org.locationtech.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(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, java.lang.Double minResolution, java.lang.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(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, java.lang.Double distance, java.lang.Integer numResults, java.lang.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(java.lang.String propertyName, org.locationtech.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(java.lang.String propertyName, org.locationtech.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(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, RelationshipMask[] mask, java.lang.Double minResolution, java.lang.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(java.lang.String propertyName, org.locationtech.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(java.lang.String propertyName, org.locationtech.jts.geom.Geometry geom, java.lang.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
-
-