public class OracleSpatial10gDialect extends Oracle10gDialect implements SpatialDialect, Serializable
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, LEGACY_LOB_MERGE_STRATEGY, NEW_LOCATOR_LOB_MERGE_STRATEGY, NO_BATCH, QUOTE, STREAM_XFER_LOB_MERGE_STRATEGY
Constructor and Description |
---|
OracleSpatial10gDialect()
Constructs the dialect with the specified configuration
|
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 an
HavingSridExpression . |
String |
getIsEmptySQL(String columnName,
boolean isEmpty)
Returns the SQL fragment when parsing a
IsEmptyExpression or
IsNotEmpty expression. |
String |
getSpatialAggregateSQL(String columnName,
int spatialAggregateFunction)
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.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 |
isOGCStrict()
Reports whether this dialect is in OGC_STRICT mode or not.
|
boolean |
supports(SpatialFunction function)
Does this dialect supports the specified
SpatialFunction . |
boolean |
supportsFiltering()
Returns true if this
SpatialDialect supports a specific filtering function. |
createOuterJoinFragment, getCrossJoinSeparator, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getResultSet, getResultSet, getWriteLockString, registerResultSetOutParameter
createCaseFragment, getCurrentTimestampSelectString, getCurrentTimestampSQLFunctionName, getForUpdateString, getLimitHandler, getLimitString, getReadLockString, getSelectClauseNullString, registerCharacterTypeMappings, registerDateTimeTypeMappings, supportsRowValueConstructorSyntaxInInList, supportsTupleDistinctCounts
bindLimitParametersInReverseOrder, buildSQLExceptionConversionDelegate, canCreateSchema, dropConstraints, forceLobAsLastValue, forUpdateOfColumns, getAddColumnString, getBasicSelectClauseNullString, getCallableStatementSupport, getCascadeConstraintsString, getCreateSequenceString, getDefaultMultiTableBulkIdStrategy, getDropSequenceString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getInExpressionCountLimit, getMaxAliasLength, getNotExpression, getQueryHintString, getQuerySequencesString, getResultSet, getSelectGUIDString, getSelectSequenceNextValString, getSequenceNextValString, getSqlTypeDescriptorOverride, getViolatedConstraintNameExtracter, isCurrentTimestampSelectStringCallable, registerDefaultProperties, registerFunctions, registerLargeObjectTypeMappings, registerNumericTypeMappings, registerResultSetOutParameter, registerReverseHibernateTypeMappings, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExistsInSelect, supportsLimit, supportsPooledSequences, supportsSequences, supportsUnionAll, useFollowOnLocking, useMaxForLimit
appendIdentitySelectToInsert, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, buildIdentifierHelper, buildSQLExceptionConverter, canCreateCatalog, cast, cast, cast, closeQuote, convertToFirstRowValue, defaultScrollMode, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, forceLimitUsage, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAuxiliaryDatabaseObjectExporter, getCaseInsensitiveLike, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCurrentSchemaCommand, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityColumnString, getIdentityColumnString, getIdentityColumnSupport, getIdentityInsertString, getIdentitySelectString, getIdentitySelectString, getIndexExporter, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getNullColumnString, getSchemaNameResolver, getSequenceExporter, getSequenceInformationExtractor, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, hasAlterTable, hasDataTypeInIdentityColumn, hasSelfReferentialForeignKeyBug, isLockTimeoutParameterized, openQuote, qualifyIndexName, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, requiresParensForTupleDistinctCounts, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCaseInsensitiveLike, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExpectedLobUsagePattern, supportsIdentityColumns, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsIfExistsBeforeTableName, supportsInsertSelectIdentity, supportsLimitOffset, supportsLobValueChangePropogation, supportsLockTimeouts, supportsNamedParameters, supportsNotNullUnique, supportsOuterJoinForUpdate, supportsParametersInInsertSelect, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntax, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTuplesInSubqueries, supportsUnboundedLobLocatorMaterialization, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toBooleanValueString, toString, transformSelectString, useInputStreamToInsertBlob
public OracleSpatial10gDialect()
public void contributeTypes(TypeContributions typeContributions, ServiceRegistry serviceRegistry)
Dialect
contributeTypes
in class Dialect
typeContributions
- Callback to contribute the typesserviceRegistry
- The service registrypublic String getSpatialFilterExpression(String columnName)
SpatialDialect
org.hibernate.spatial.criterion.SpatialFilterExpression
s
into prepared statements.getSpatialFilterExpression
in interface SpatialDialect
columnName
- The name of the geometry-typed column to which the filter is
be appliedSpatialFilterExpression
public String getSpatialRelateSQL(String columnName, int spatialRelation)
SpatialDialect
org.hibernatespatial.criterion.SpatialRelateExpression
s
into prepared statements.
getSpatialRelateSQL
in interface SpatialDialect
columnName
- The name of the geometry-typed column to which the relation is
appliedspatialRelation
- The type of spatial relation (as defined in
SpatialRelation
).SpatialRelateExpression
public String getSpatialAggregateSQL(String columnName, int spatialAggregateFunction)
SpatialDialect
getSpatialAggregateSQL
in interface SpatialDialect
columnName
- The name of the Geometry propertyspatialAggregateFunction
- The type of SpatialAggregate
public String getDWithinSQL(String columnName)
SpatialDialect
DWithinExpression
.getDWithinSQL
in interface SpatialDialect
columnName
- The geometry column to test againstDWithinExpression
.public String getHavingSridSQL(String columnName)
SpatialDialect
HavingSridExpression
.getHavingSridSQL
in interface SpatialDialect
columnName
- The geometry column to test againstHavingSridExpression
.public String getIsEmptySQL(String columnName, boolean isEmpty)
SpatialDialect
IsEmptyExpression
or
IsNotEmpty
expression.getIsEmptySQL
in interface SpatialDialect
columnName
- The geometry columnisEmpty
- Whether the geometry is tested for empty or non-emptypublic boolean isOGCStrict()
public boolean supportsFiltering()
SpatialDialect
SpatialDialect
supports a specific filtering function.
This is intended to signal DB-support for fast window queries, or MBR-overlap queries.
supportsFiltering
in interface SpatialDialect
public boolean supports(SpatialFunction function)
SpatialDialect
SpatialFunction
.supports
in interface SpatialDialect
function
- SpatialFunction
SpatialDialect
supports the spatial function specified by the function parameter.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.