public class DB2SpatialDialect extends org.hibernate.dialect.DB2Dialect implements SpatialDialect
| Constructor and Description | 
|---|
| DB2SpatialDialect()Construct a DB2Spatial dialect. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | contributeTypes(org.hibernate.boot.model.TypeContributions typeContributions,
               org.hibernate.service.ServiceRegistry serviceRegistry) | 
| 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 type)Returns the SQL fragment for the specfied Spatial aggregate expression. | 
| String | getSpatialFilterExpression(String arg0)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. | 
| String | getTypeName(int code,
           long length,
           int precision,
           int scale) | 
| boolean | supports(SpatialFunction function)Does this dialect supports the specified  SpatialFunction. | 
| boolean | supportsFiltering()Returns true if this  SpatialDialectsupports a specific filtering function. | 
buildSQLExceptionConversionDelegate, convertToFirstRowValue, doesReadCommittedCauseWritersToBlockReaders, dropConstraints, getAddColumnString, getCreateSequenceString, getCrossJoinSeparator, getCurrentTimestampSelectString, getDefaultMultiTableBulkIdStrategy, getDropSequenceString, getForUpdateString, getIdentityColumnSupport, getLimitHandler, getLimitString, getLowercaseFunction, getNotExpression, getQuerySequencesString, getResultSet, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceInformationExtractor, getSequenceNextValString, getSqlTypeDescriptorOverride, getUniqueDelegate, isCurrentTimestampSelectStringCallable, registerResultSetOutParameter, renderOrderByElement, requiresCastingOfParametersInSelectClause, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExistsInSelect, supportsLimit, supportsLobValueChangePropogation, supportsLockTimeouts, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsPartitionBy, supportsPooledSequences, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsSequences, supportsTupleDistinctCounts, supportsUnionAll, supportsVariableLimit, useMaxForLimitaddSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, augmentRecognizedTableTypes, bindLimitParametersFirst, bindLimitParametersInReverseOrder, buildIdentifierHelper, buildSQLExceptionConverter, canCreateCatalog, canCreateSchema, cast, cast, cast, closeQuote, 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, 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, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getQueryHintString, getReadLockString, getReadLockString, getResultSet, getResultSet, getSchemaNameResolver, getSelectGUIDString, getSequenceExporter, getTableComment, getTableExporter, getTableTypeString, getTypeName, getUniqueKeyExporter, getViolatedConstraintNameExtracter, getWriteLockString, getWriteLockString, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, openQuote, prependComment, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, replaceResultVariableInOrderByClauseWithPosition, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExpectedLobUsagePattern, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsJdbcConnectionLobCreation, supportsLimitOffset, supportsNamedParameters, supportsNationalizedTypes, supportsNoColumnsInsert, supportsNonQueryWithCTE, supportsNotNullUnique, supportsNoWait, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSelectAliasInGroupByClause, supportsSkipLocked, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, toBooleanValueString, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlobpublic DB2SpatialDialect()
public void contributeTypes(org.hibernate.boot.model.TypeContributions typeContributions,
                            org.hibernate.service.ServiceRegistry serviceRegistry)
contributeTypes in class org.hibernate.dialect.Dialectpublic 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 getSpatialAggregateSQL(String columnName, int type)
SpatialDialectgetSpatialAggregateSQL in interface SpatialDialectcolumnName - The name of the Geometry propertytype - The type of SpatialAggregatepublic String getSpatialFilterExpression(String arg0)
SpatialDialectorg.hibernate.spatial.criterion.SpatialFilterExpressions
 into prepared statements.getSpatialFilterExpression in interface SpatialDialectarg0 - The name of the geometry-typed column to which the filter is
 be appliedSpatialFilterExpressionpublic String getTypeName(int code, long length, int precision, int scale) throws org.hibernate.HibernateException
getTypeName in class org.hibernate.dialect.Dialectorg.hibernate.HibernateExceptionpublic 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 supports(SpatialFunction function)
SpatialDialectSpatialFunction.supports in interface SpatialDialectfunction - SpatialFunctionSpatialDialect supports the spatial function specified by the function parameter.public 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 SpatialDialectCopyright © 2001-2020 Red Hat, Inc. All Rights Reserved.