public class PostgisNoSQLMM extends PostgisDialect
A Dialect for Postgresql with support for the Postgis spatial types, functions and operators (release 1.x - 1.3)
Constructor and Description |
---|
PostgisNoSQLMM() |
Modifier and Type | Method and Description |
---|---|
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 |
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>.
|
contributeTypes, getSpatialAggregateSQL, getSpatialFilterExpression, supportsFiltering
getDefaultMultiTableBulkIdStrategy, getDropSequenceString, supportsIfExistsBeforeTableName, supportsRowValueConstructorSyntaxInInList, supportsValuesList
bindLimitParametersInReverseOrder, buildSQLExceptionConversionDelegate, dropConstraints, getAddColumnString, getCallableStatementSupport, getCascadeConstraintsString, getCaseInsensitiveLike, getCreateSequenceString, getCreateSequenceString, getCurrentTimestampSelectString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getForUpdateString, getForUpdateString, getIdentityColumnSupport, getLimitHandler, getLimitString, getNativeIdentifierGeneratorStrategy, getNoColumnsInsertString, getQuerySequencesString, getReadLockString, getReadLockString, getResultSet, getResultSet, getResultSet, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceNextValString, getSqlTypeDescriptorOverride, getViolatedConstraintNameExtracter, getWriteLockString, getWriteLockString, isCurrentTimestampSelectStringCallable, qualifyIndexName, registerResultSetOutParameter, requiresParensForTupleDistinctCounts, supportsCaseInsensitiveLike, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExpectedLobUsagePattern, supportsLimit, supportsLobValueChangePropogation, supportsNationalizedTypes, supportsOuterJoinForUpdate, supportsPooledSequences, supportsRowValueConstructorSyntax, supportsSequences, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, toBooleanValueString, useInputStreamToInsertBlob
addSqlHintOrComment, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, augmentRecognizedTableTypes, bindLimitParametersFirst, buildIdentifierHelper, buildSQLExceptionConverter, canCreateCatalog, canCreateSchema, cast, cast, cast, closeQuote, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, defaultScrollMode, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, escapeLiteral, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, getAddColumnSuffixString, getAddForeignKeyConstraintString, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getAlterTableString, getAuxiliaryDatabaseObjectExporter, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateCatalogCommand, getCreateMultisetTableString, getCreateSchemaCommand, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getCurrentSchemaCommand, getCurrentTimestampSQLFunctionName, getDefaultBatchLoadSizingStrategy, getDefaultProperties, getDialect, getDialect, getDropCatalogCommand, getDropForeignKeyString, getDropSchemaCommand, getDropSequenceStrings, getDropTableString, getForeignKeyExporter, getForUpdateSkipLockedString, getForUpdateSkipLockedString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIndexExporter, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNameQualifierSupport, getNativeIdentifierGeneratorClass, getNotExpression, getNullColumnString, getQueryHintString, getQueryHintString, getSchemaNameResolver, getSelectGUIDString, getSequenceExporter, getSequenceInformationExtractor, getTableComment, getTableExporter, getTableTypeString, getTypeName, getTypeName, getUniqueDelegate, getUniqueKeyExporter, hasAlterTable, hasSelfReferentialForeignKeyBug, inlineLiteral, isJdbcLogWarningsEnabledByDefault, isLegacyLimitHandlerBehaviorEnabled, isLockTimeoutParameterized, isTypeNameRegistered, openQuote, prependComment, quote, registerColumnType, registerColumnType, registerFunction, registerHibernateType, registerHibernateType, registerKeyword, registerResultSetOutParameter, remapSqlTypeDescriptor, renderOrderByElement, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExistsInSelect, supportsIfExistsAfterAlterTable, supportsIfExistsAfterConstraintName, supportsIfExistsAfterTableName, supportsIfExistsBeforeConstraintName, supportsLimitOffset, supportsLockTimeouts, supportsNamedParameters, supportsNonQueryWithCTE, supportsNotNullUnique, supportsParametersInInsertSelect, supportsPartitionBy, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsSkipLocked, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsTupleDistinctCounts, supportsTuplesInSubqueries, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toString, transformSelectString, useFollowOnLocking, useFollowOnLocking, useMaxForLimit
public String getDWithinSQL(String columnName)
SpatialDialect
Returns The SQL fragment when parsing a <code>DWithinExpression</code>.
getDWithinSQL
in interface SpatialDialect
getDWithinSQL
in class PostgisPG82Dialect
columnName
- The geometry column to test againstpublic String getHavingSridSQL(String columnName)
SpatialDialect
Returns the SQL fragment when parsing a <code>HavingSridExpression</code>.
getHavingSridSQL
in interface SpatialDialect
getHavingSridSQL
in class PostgisPG82Dialect
columnName
- The geometry column to test againstpublic String getIsEmptySQL(String columnName, boolean isEmpty)
SpatialDialect
Returns the SQL fragment when parsing a <code>IsEmptyExpression</code> or <code>IsNotEmpty</code> expression.
getIsEmptySQL
in interface SpatialDialect
getIsEmptySQL
in class PostgisPG82Dialect
columnName
- The geometry columnisEmpty
- Whether the geometry is tested for empty or non-emptypublic String getSpatialRelateSQL(String columnName, int spatialRelation)
SpatialDialect
Returns the SQL fragment for the SQL WHERE-clause when parsing <code>org.hibernatespatial.criterion.SpatialRelateExpression</code>s into prepared statements. <p/>
getSpatialRelateSQL
in interface SpatialDialect
getSpatialRelateSQL
in class PostgisPG82Dialect
columnName
- The name of the geometry-typed column to which the relation is
appliedspatialRelation
- The type of spatial relation (as defined in
<code>SpatialRelation</code>).SpatialRelateExpression
public boolean supports(SpatialFunction function)
SpatialDialect
Does this dialect supports the specified <code>SpatialFunction</code>.
supports
in interface SpatialDialect
supports
in class PostgisPG82Dialect
function
- <code>SpatialFunction</code>Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.