public class GeoDBDialect extends H2Dialect implements SpatialDialect
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, LEGACY_LOB_MERGE_STRATEGY, NEW_LOCATOR_LOB_MERGE_STRATEGY, NO_BATCH, QUOTE, STANDARD_DEFAULT_BATCH_LOAD_SIZING_STRATEGY, STREAM_XFER_LOB_MERGE_STRATEGY| Constructor and Description | 
|---|
| GeoDBDialect()Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | contributeTypes(TypeContributions typeContributions,
               ServiceRegistry serviceRegistry)Allows the Dialect to contribute additional types | 
| 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. | 
bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildSQLExceptionConversionDelegate, doesReadCommittedCauseWritersToBlockReaders, dropConstraints, getAddColumnString, getCreateSequenceString, getCurrentTimestampSelectString, getDefaultMultiTableBulkIdStrategy, getDropSequenceString, getForUpdateString, getIdentityColumnSupport, getLimitHandler, getLimitString, getQueryHintString, getQuerySequencesString, getSelectSequenceNextValString, getSequenceInformationExtractor, getSequenceNextValString, getViolatedConstraintNameExtracter, isCurrentTimestampSelectStringCallable, requiresParensForTupleDistinctCounts, supportsCurrentTimestampSelection, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsLimit, supportsLobValueChangePropogation, supportsPooledSequences, supportsSequences, supportsTuplesInSubqueries, supportsUnionAlladdSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, augmentRecognizedTableTypes, buildIdentifierHelper, buildSQLExceptionConverter, canCreateCatalog, canCreateSchema, cast, cast, cast, closeQuote, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, defaultScrollMode, doesRepeatableReadCauseReadersToBlockWriters, escapeLiteral, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getCurrentSchemaCommand, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNotExpression, getNullColumnString, getQueryHintString, getReadLockString, getReadLockString, getResultSet, getResultSet, getResultSet, getSchemaNameResolver, getSelectClauseNullString, getSelectGUIDString, getSequenceExporter, getSqlTypeDescriptorOverride, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, getWriteLockString, getWriteLockString, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, openQuote, prependComment, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, registerResultSetOutParameter, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsCommentOn, supportsEmptyInList, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsBeforeTableName, supportsLimitOffset, supportsLockTimeouts, supportsNamedParameters, supportsNationalizedTypes, supportsNonQueryWithCTE, supportsNotNullUnique, supportsNoWait, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPartitionBy, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSkipLocked, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTupleDistinctCounts, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlob, useMaxForLimitpublic GeoDBDialect()
public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
DialectcontributeTypes in class DialecttypeContributions - Callback to contribute the typesserviceRegistry - The service registrypublic String getSpatialAggregateSQL(String columnName, int aggregation)
SpatialDialectgetSpatialAggregateSQL in interface SpatialDialectcolumnName - The name of the Geometry propertyaggregation - The type of SpatialAggregatepublic String getDWithinSQL(String columnName)
SpatialDialectDWithinExpression.getDWithinSQL in interface SpatialDialectcolumnName - The geometry column to test againstDWithinExpression.public String getHavingSridSQL(String columnName)
SpatialDialectHavingSridExpression.getHavingSridSQL in interface SpatialDialectcolumnName - The geometry column to test againstHavingSridExpression.public 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-emptypublic String getSpatialFilterExpression(String columnName)
SpatialDialectorg.hibernate.spatial.criterion.SpatialFilterExpressions
 into prepared statements.getSpatialFilterExpression in interface SpatialDialectcolumnName - The name of the geometry-typed column to which the filter is
 be appliedSpatialFilterExpressionpublic 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).SpatialRelateExpressionpublic 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 SpatialDialectpublic boolean supports(SpatialFunction function)
SpatialDialectSpatialFunction.supports in interface SpatialDialectfunction - SpatialFunctionSpatialDialect supports the spatial function specified by the function parameter.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.