public interface SpatialDialect extends Serializable
| Modifier and Type | Method and Description | 
|---|---|
| String | getDWithinSQL(String columnName)Returns The SQL fragment when parsing a  DWithinExpression. | 
| String | getHavingSridSQL(String columnName)Returns the SQL fragment when parsing a  HavingSridExpression. | 
| String | getIsEmptySQL(String columnName,
             boolean isEmpty)Returns the SQL fragment when parsing a  IsEmptyExpressionorIsNotEmptyexpression. | 
| String | getSpatialAggregateSQL(String columnName,
                      int aggregation)Returns the SQL fragment for the specfied Spatial aggregate expression. | 
| String | getSpatialFilterExpression(String columnName)Returns the SQL fragment for the SQL WHERE-expression when parsing
  org.hibernate.spatial.criterion.SpatialFilterExpressions
 into prepared statements. | 
| String | getSpatialRelateSQL(String columnName,
                   int spatialRelation)Returns the SQL fragment for the SQL WHERE-clause when parsing
  org.hibernatespatial.criterion.SpatialRelateExpressions
 into prepared statements. | 
| boolean | supports(SpatialFunction function)Does this dialect supports the specified  SpatialFunction. | 
| boolean | supportsFiltering()Returns true if this  SpatialDialectsupports a specific filtering function. | 
String getSpatialRelateSQL(String columnName, int spatialRelation)
org.hibernatespatial.criterion.SpatialRelateExpressions
 into prepared statements.
 columnName - The name of the geometry-typed column to which the relation is
 appliedspatialRelation - The type of spatial relation (as defined in
 SpatialRelation).SpatialRelateExpressionString getSpatialFilterExpression(String columnName)
org.hibernate.spatial.criterion.SpatialFilterExpressions
 into prepared statements.columnName - The name of the geometry-typed column to which the filter is
 be appliedSpatialFilterExpressionString getSpatialAggregateSQL(String columnName, int aggregation)
columnName - The name of the Geometry propertyaggregation - The type of SpatialAggregateString getDWithinSQL(String columnName)
DWithinExpression.columnName - The geometry column to test againstDWithinExpression.String getHavingSridSQL(String columnName)
HavingSridExpression.columnName - The geometry column to test againstHavingSridExpression.String getIsEmptySQL(String columnName, boolean isEmpty)
IsEmptyExpression or
 IsNotEmpty expression.columnName - The geometry columnisEmpty - Whether the geometry is tested for empty or non-emptyboolean supportsFiltering()
SpatialDialect supports a specific filtering function.
 This is intended to signal DB-support for fast window queries, or MBR-overlap queries.
boolean supports(SpatialFunction function)
SpatialFunction.function - SpatialFunctionSpatialDialect supports the spatial function specified by the function parameter.Copyright © 2001-2020 Red Hat, Inc. All Rights Reserved.