public interface CockroachSpatialDialectTrait extends SpatialDialect
| Modifier and Type | Field and Description | 
|---|---|
| static CockroachDBSpatialSupport | DELEGATE | 
| Modifier and Type | Method and Description | 
|---|---|
| default void | delegateContributeTypes(org.hibernate.boot.model.TypeContributions typeContributions,
                       org.hibernate.service.ServiceRegistry serviceRegistry) | 
| default SpatialFunctionsRegistry | functionsToRegister() | 
| default String | getDWithinSQL(String columnName)Returns The SQL fragment when parsing a  DWithinExpression. | 
| default String | getHavingSridSQL(String columnName)Returns the SQL fragment when parsing a  HavingSridExpression. | 
| default String | getIsEmptySQL(String columnName,
             boolean isEmpty)Returns the SQL fragment when parsing a  IsEmptyExpressionorIsNotEmptyexpression. | 
| default String | getSpatialAggregateSQL(String columnName,
                      int aggregation)Returns the SQL fragment for the specfied Spatial aggregate expression. | 
| default String | getSpatialFilterExpression(String columnName)Returns the SQL fragment for the SQL WHERE-expression when parsing
  org.hibernate.spatial.criterion.SpatialFilterExpressions
 into prepared statements. | 
| default String | getSpatialRelateSQL(String columnName,
                   int spatialRelation)Returns the SQL fragment for the SQL WHERE-clause when parsing
  org.hibernatespatial.criterion.SpatialRelateExpressions
 into prepared statements. | 
| default boolean | isSpatial(int typeCode) | 
| default boolean | supports(SpatialFunction function)Does this dialect supports the specified  SpatialFunction. | 
| default boolean | supportsFiltering()Returns true if this  SpatialDialectsupports a specific filtering function. | 
static final CockroachDBSpatialSupport DELEGATE
default SpatialFunctionsRegistry functionsToRegister()
default String getSpatialRelateSQL(String columnName, int spatialRelation)
SpatialDialectorg.hibernatespatial.criterion.SpatialRelateExpressions
 into prepared statements.
 getSpatialRelateSQL in interface SpatialDialectcolumnName - The name of the geometry-typed column to which the relation is
 appliedspatialRelation - The type of spatial relation (as defined in
 SpatialRelation).SpatialRelateExpressiondefault void delegateContributeTypes(org.hibernate.boot.model.TypeContributions typeContributions,
                                     org.hibernate.service.ServiceRegistry serviceRegistry)
default String getSpatialFilterExpression(String columnName)
org.hibernate.spatial.criterion.SpatialFilterExpressions
 into prepared statements.getSpatialFilterExpression in interface SpatialDialectcolumnName - The name of the geometry-typed column to which the filter is
 be appliedSpatialFilterExpressiondefault String getSpatialAggregateSQL(String columnName, int aggregation)
SpatialDialectgetSpatialAggregateSQL in interface SpatialDialectcolumnName - The name of the Geometry propertyaggregation - The type of SpatialAggregatedefault String getDWithinSQL(String columnName)
SpatialDialectDWithinExpression.getDWithinSQL in interface SpatialDialectcolumnName - The geometry column to test againstDWithinExpression.default String getHavingSridSQL(String columnName)
SpatialDialectHavingSridExpression.getHavingSridSQL in interface SpatialDialectcolumnName - The geometry column to test againstHavingSridExpression.default String getIsEmptySQL(String columnName, boolean isEmpty)
SpatialDialectIsEmptyExpression or
 IsNotEmpty expression.getIsEmptySQL in interface SpatialDialectcolumnName - The geometry columnisEmpty - Whether the geometry is tested for empty or non-emptydefault boolean supportsFiltering()
SpatialDialectSpatialDialect supports a specific filtering function.
 This is intended to signal DB-support for fast window queries, or MBR-overlap queries.
supportsFiltering in interface SpatialDialectdefault boolean supports(SpatialFunction function)
SpatialDialectSpatialFunction.supports in interface SpatialDialectfunction - SpatialFunctionSpatialDialect supports the spatial function specified by the function parameter.default boolean isSpatial(int typeCode)
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.