|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpatialDialect
Describes the features of a spatially enabled dialect.
Method Summary | |
---|---|
java.lang.String |
getDWithinSQL(java.lang.String columnName)
Returns the SQL fragment when parsing a DWithinExpression . |
java.lang.String |
getHavingSridSQL(java.lang.String columnName)
Returns the SQL fragment when parsing an HavingSridExpression . |
java.lang.String |
getIsEmptySQL(java.lang.String columnName,
boolean isEmpty)
Returns the SQL fragment when parsing a IsEmptyExpression or
IsNotEmpty expression. |
java.lang.String |
getSpatialAggregateSQL(java.lang.String columnName,
int aggregation)
|
java.lang.String |
getSpatialFilterExpression(java.lang.String columnName)
Returns the SQL fragment for the SQL WHERE-expression when parsing org.hibernate.spatial.criterion.SpatialFilterExpression s
into prepared statements. |
java.lang.String |
getSpatialRelateSQL(java.lang.String columnName,
int spatialRelation)
Returns the SQL fragment for the SQL WHERE-clause when parsing org.hibernatespatial.criterion.SpatialRelateExpression s
into prepared statements. |
boolean |
supports(SpatialFunction function)
Does this dialect supports the specified SpatialFunction . |
boolean |
supportsFiltering()
Returns true if this SpatialDialect supports a specific filtering function. |
Method Detail |
---|
java.lang.String getSpatialRelateSQL(java.lang.String columnName, int spatialRelation)
org.hibernatespatial.criterion.SpatialRelateExpression
s
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
).
java.lang.String getSpatialFilterExpression(java.lang.String columnName)
org.hibernate.spatial.criterion.SpatialFilterExpression
s
into prepared statements.
columnName-
- the name of the geometry-typed column to which the filter is
be applied.
java.lang.String getSpatialAggregateSQL(java.lang.String columnName, int aggregation)
columnName
- the name of the Geometry propertyaggregation
- the type of SpatialAggregate
java.lang.String getDWithinSQL(java.lang.String columnName)
DWithinExpression
.
columnName
- the geometry column to test against
java.lang.String getHavingSridSQL(java.lang.String columnName)
HavingSridExpression
.
columnName
- the geometry column to test against
java.lang.String getIsEmptySQL(java.lang.String columnName, boolean isEmpty)
IsEmptyExpression
or
IsNotEmpty
expression.
columnName
- the geometry columnisEmpty
- whether the geometry is tested for empty or non-empty
boolean 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
- SpatialFunction
SpatialDialect
supports the spatial function specified by the function parameter.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |