|
||||||||||
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 | |
---|---|
String |
getDbGeometryTypeName()
Returns the name of the native database type for storing geometries. |
String |
getDWithinSQL(String columnName)
Returns the SQL fragment when parsing a DWithinExpression . |
org.hibernate.usertype.UserType |
getGeometryUserType()
|
String |
getHavingSridSQL(String columnName)
Returns the SQL fragment when parsing an HavingSridExpression . |
String |
getIsEmptySQL(String columnName,
boolean isEmpty)
Returns the SQL fragment when parsing a IsEmptyExpression or
IsNotEmpty expression. |
String |
getSpatialAggregateSQL(String columnName,
int aggregation)
|
String |
getSpatialFilterExpression(String columnName)
Returns the SQL fragment for the SQL WHERE-expression when parsing org.hibernatespatial.criterion.SpatialFilterExpression s
into prepared statements. |
String |
getSpatialRelateSQL(String columnName,
int spatialRelation)
Returns the SQL fragment for the SQL WHERE-clause when parsing org.hibernatespatial.criterion.SpatialRelateExpression s
into prepared statements. |
boolean |
isTwoPhaseFiltering()
Deprecated. |
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 |
---|
String getSpatialRelateSQL(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
).
String getSpatialFilterExpression(String columnName)
org.hibernatespatial.criterion.SpatialFilterExpression
s
into prepared statements.
columnName-
- the name of the geometry-typed column to which the filter is
be applied.
org.hibernate.usertype.UserType getGeometryUserType()
String getSpatialAggregateSQL(String columnName, int aggregation)
columnName
- the name of the Geometry propertyaggregation
- the type of SpatialAggregate
String getDWithinSQL(String columnName)
DWithinExpression
.
columnName
- the geometry column to test against
String getHavingSridSQL(String columnName)
HavingSridExpression
.
columnName
- the geometry column to test against
String getIsEmptySQL(String columnName, boolean isEmpty)
IsEmptyExpression
or
IsNotEmpty
expression.
columnName
- the geometry columnisEmpty
- whether the geometry is tested for empty or non-empty
String getDbGeometryTypeName()
@Deprecated boolean isTwoPhaseFiltering()
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 |