public class HANASpatialDialect extends org.hibernate.dialect.HANAColumnStoreDialect implements SpatialDialect
| Constructor and Description |
|---|
HANASpatialDialect() |
| 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 <code>DWithinExpression</code>.
|
String |
getHavingSridSQL(String columnName)
Returns the SQL fragment when parsing a <code>HavingSridExpression</code>.
|
String |
getIsEmptySQL(String columnName,
boolean isEmpty)
Returns the SQL fragment when parsing a <code>IsEmptyExpression</code> or
<code>IsNotEmpty</code> expression.
|
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
<code>org.hibernate.spatial.criterion.SpatialFilterExpression</code>s
into prepared statements.
|
String |
getSpatialRelateSQL(String columnName,
int spatialRelation)
Returns the SQL fragment for the SQL WHERE-clause when parsing
<code>org.hibernatespatial.criterion.SpatialRelateExpression</code>s
into prepared statements.
|
boolean |
supports(SpatialFunction function)
Does this dialect supports the specified <code>SpatialFunction</code>.
|
boolean |
supportsFiltering()
Returns true if this <code>SpatialDialect</code> supports a specific filtering function.
|
getCreateTableString, getDefaultMultiTableBulkIdStrategybindLimitParametersInReverseOrder, buildIdentifierHelper, buildSQLExceptionConversionDelegate, defaultScrollMode, dropConstraints, forUpdateOfColumns, getAddColumnString, getAddColumnSuffixString, getBlobTypeDescriptor, getCallableStatementSupport, getCascadeConstraintsString, getColumnComment, getCreateSequenceString, getCreateSequenceString, getCurrentSchemaCommand, getCurrentTimestampSelectString, getDropSequenceString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getForUpdateString, getIdentityColumnSupport, getLimitHandler, getLimitString, getMaxAliasLength, getNameQualifierSupport, getNotExpression, getQueryHintString, getQuerySequencesString, getReadLockString, getReadLockString, getSelectGUIDString, getSelectSequenceNextValString, getSequenceNextValString, getSqlTypeDescriptorOverride, getTableComment, getTableExporter, getWriteLockString, getWriteLockString, isCurrentTimestampSelectStringCallable, registerHanaKeywords, registerResultSetOutParameter, registerResultSetOutParameter, supportsColumnCheck, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExistsInSelect, supportsExpectedLobUsagePattern, supportsLimit, supportsNoWait, supportsPartitionBy, supportsPooledSequences, supportsRowValueConstructorSyntax, supportsRowValueConstructorSyntaxInInList, supportsSequences, supportsTableCheck, supportsTupleDistinctCounts, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, toBooleanValueStringaddSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, augmentRecognizedTableTypes, bindLimitParametersFirst, buildSQLExceptionConverter, canCreateCatalog, canCreateSchema, cast, cast, cast, closeQuote, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, escapeLiteral, forceLimitUsage, forceLobAsLastValue, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceStrings, getCreateSequenceStrings, getCrossJoinSeparator, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getQueryHintString, getResultSet, getResultSet, getResultSet, getSchemaNameResolver, getSelectClauseNullString, getSequenceExporter, getSequenceInformationExtractor, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, getViolatedConstraintNameExtracter, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, openQuote, prependComment, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsLimitOffset, supportsLobValueChangePropogation, supportsLockTimeouts, supportsNamedParameters, supportsNationalizedTypes, supportsNonQueryWithCTE, supportsNotNullUnique, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsSkipLocked, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTupleCounts, supportsTuplesInSubqueries, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsValuesList, supportsVariableLimit, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useInputStreamToInsertBlob, useMaxForLimitpublic String getSpatialRelateSQL(String columnName, int spatialRelation)
SpatialDialectReturns the SQL fragment for the SQL WHERE-clause when parsing <code>org.hibernatespatial.criterion.SpatialRelateExpression</code>s into prepared statements. <p/>
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
<code>SpatialRelation</code>).SpatialRelateExpressionpublic void contributeTypes(org.hibernate.boot.model.TypeContributions typeContributions,
org.hibernate.service.ServiceRegistry serviceRegistry)
contributeTypes in class org.hibernate.dialect.AbstractHANADialectpublic String getSpatialFilterExpression(String columnName)
SpatialDialectReturns the SQL fragment for the SQL WHERE-expression when parsing <code>org.hibernate.spatial.criterion.SpatialFilterExpression</code>s into prepared statements.
getSpatialFilterExpression in interface SpatialDialectcolumnName - The name of the geometry-typed column to which the filter is
be appliedSpatialFilterExpressionpublic String getSpatialAggregateSQL(String columnName, int aggregation)
SpatialDialectReturns the SQL fragment for the specfied Spatial aggregate expression.
getSpatialAggregateSQL in interface SpatialDialectcolumnName - The name of the Geometry propertyaggregation - The type of <code>SpatialAggregate</code>public String getDWithinSQL(String columnName)
SpatialDialectReturns The SQL fragment when parsing a <code>DWithinExpression</code>.
getDWithinSQL in interface SpatialDialectcolumnName - The geometry column to test againstpublic String getHavingSridSQL(String columnName)
SpatialDialectReturns the SQL fragment when parsing a <code>HavingSridExpression</code>.
getHavingSridSQL in interface SpatialDialectcolumnName - The geometry column to test againstpublic String getIsEmptySQL(String columnName, boolean isEmpty)
SpatialDialectReturns the SQL fragment when parsing a <code>IsEmptyExpression</code> or <code>IsNotEmpty</code> expression.
getIsEmptySQL in interface SpatialDialectcolumnName - The geometry columnisEmpty - Whether the geometry is tested for empty or non-emptypublic boolean supportsFiltering()
SpatialDialectReturns true if this <code>SpatialDialect</code> supports a specific filtering function. <p> This is intended to signal DB-support for fast window queries, or MBR-overlap queries.</p>
supportsFiltering in interface SpatialDialectpublic boolean supports(SpatialFunction function)
SpatialDialectDoes this dialect supports the specified <code>SpatialFunction</code>.
supports in interface SpatialDialectfunction - <code>SpatialFunction</code>Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.