org.hibernate.spatial.dialect.postgis
Class PostgisNoSQLMM

java.lang.Object
  extended by org.hibernate.dialect.Dialect
      extended by org.hibernate.dialect.PostgreSQL81Dialect
          extended by org.hibernate.dialect.PostgreSQL82Dialect
              extended by org.hibernate.dialect.PostgreSQLDialect
                  extended by org.hibernate.spatial.dialect.postgis.PostgisDialect
                      extended by org.hibernate.spatial.dialect.postgis.PostgisNoSQLMM
All Implemented Interfaces:
java.io.Serializable, org.hibernate.exception.spi.ConversionContext, SpatialDialect

public class PostgisNoSQLMM
extends PostgisDialect

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.hibernate.dialect.Dialect
CLOSED_QUOTE, DEFAULT_BATCH_SIZE, NO_BATCH, QUOTE
 
Constructor Summary
PostgisNoSQLMM()
           
 
Method Summary
 java.lang.String getDWithinSQL(java.lang.String columnName)
          Returns the SQL fragment when parsing a DWithinExpression.
 java.lang.String getHavingSridSQL(java.lang.String columnName)
          Returns the SQL fragment when parsing an HavingSridExpression.
 java.lang.String getIsEmptySQL(java.lang.String columnName, boolean isEmpty)
          Returns the SQL fragment when parsing a IsEmptyExpression or IsNotEmpty expression.
 java.lang.String getSpatialRelateSQL(java.lang.String columnName, int spatialRelation, boolean hasFilter)
           
 boolean supports(SpatialFunction function)
          Does this dialect supports the specified SpatialFunction.
 
Methods inherited from class org.hibernate.spatial.dialect.postgis.PostgisDialect
getSpatialAggregateSQL, getSpatialFilterExpression, getSpatialRelateSQL, getTypeName, remapSqlTypeDescriptor, supportsFiltering
 
Methods inherited from class org.hibernate.dialect.PostgreSQL82Dialect
supportsIfExistsBeforeTableName
 
Methods inherited from class org.hibernate.dialect.PostgreSQL81Dialect
bindLimitParametersInReverseOrder, buildSQLExceptionConversionDelegate, dropConstraints, getAddColumnString, getCascadeConstraintsString, getCaseInsensitiveLike, getCreateSequenceString, getCreateTemporaryTablePostfix, getCreateTemporaryTableString, getCurrentTimestampSelectString, getDropSequenceString, getForUpdateNowaitString, getForUpdateNowaitString, getForUpdateString, getForUpdateString, getIdentityColumnString, getIdentitySelectString, getLimitString, getNativeIdentifierGeneratorClass, getNoColumnsInsertString, getQuerySequencesString, getReadLockString, getResultSet, getSelectClauseNullString, getSelectSequenceNextValString, getSequenceNextValString, getSqlTypeDescriptorOverride, getViolatedConstraintNameExtracter, getWriteLockString, hasDataTypeInIdentityColumn, isCurrentTimestampSelectStringCallable, registerResultSetOutParameter, supportsCaseInsensitiveLike, supportsCommentOn, supportsCurrentTimestampSelection, supportsEmptyInList, supportsExpectedLobUsagePattern, supportsIdentityColumns, supportsLimit, supportsLobValueChangePropogation, supportsOuterJoinForUpdate, supportsPooledSequences, supportsRowValueConstructorSyntax, supportsSequences, supportsTemporaryTables, supportsTupleDistinctCounts, supportsUnboundedLobLocatorMaterialization, supportsUnionAll, toBooleanValueString, useInputStreamToInsertBlob
 
Methods inherited from class org.hibernate.dialect.Dialect
appendIdentitySelectToInsert, appendLockHint, appendLockHint, applyLocksToSql, areStringComparisonsCaseInsensitive, bindLimitParametersFirst, buildLimitHandler, buildSQLExceptionConverter, cast, cast, cast, closeQuote, convertToFirstRowValue, createCaseFragment, createOuterJoinFragment, doesReadCommittedCauseWritersToBlockReaders, doesRepeatableReadCauseReadersToBlockWriters, dropTemporaryTableAfterUse, forceLimitUsage, forceLobAsLastValue, forUpdateOfColumns, generateTemporaryTableName, getAddForeignKeyConstraintString, getAddPrimaryKeyConstraintString, getAddUniqueConstraintString, getCastTypeName, getColumnAliasExtractor, getColumnComment, getCreateMultisetTableString, getCreateSequenceStrings, getCreateSequenceStrings, getCreateTableString, getCrossJoinSeparator, getCurrentTimestampSQLFunctionName, getDefaultProperties, getDialect, getDialect, getDropForeignKeyString, getDropSequenceStrings, getDropTableString, getDropTemporaryTableString, getForUpdateString, getForUpdateString, getForUpdateString, getFunctions, getHibernateTypeName, getHibernateTypeName, getIdentityInsertString, getInExpressionCountLimit, getKeywords, getLimitString, getLobMergeStrategy, getLockingStrategy, getLowercaseFunction, getMaxAliasLength, getNotExpression, getNullColumnString, getSelectGUIDString, getTableComment, getTableTypeString, getTypeName, hasAlterTable, hasSelfReferentialForeignKeyBug, isLockTimeoutParameterized, openQuote, performTemporaryTableDDLInIsolation, qualifyIndexName, quote, replaceResultVariableInOrderByClauseWithPosition, requiresCastingOfParametersInSelectClause, supportsBindAsCallableArgument, supportsCascadeDelete, supportsCircularCascadeDeleteConstraints, supportsColumnCheck, supportsExistsInSelect, supportsIfExistsAfterTableName, supportsInsertSelectIdentity, supportsLimitOffset, supportsLockTimeouts, supportsNotNullUnique, supportsParametersInInsertSelect, supportsResultSetPositionQueryMethodsOnForwardOnlyCursor, supportsRowValueConstructorSyntaxInInList, supportsSubqueryOnMutatingTable, supportsSubselectAsInPredicateLHS, supportsTableCheck, supportsTupleCounts, supportsUnique, supportsUniqueConstraintInCreateAlterTable, supportsVariableLimit, toString, transformSelectString, useFollowOnLocking, useMaxForLimit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostgisNoSQLMM

public PostgisNoSQLMM()
Method Detail

getDWithinSQL

public java.lang.String getDWithinSQL(java.lang.String columnName)
Description copied from interface: SpatialDialect
Returns the SQL fragment when parsing a DWithinExpression.

Specified by:
getDWithinSQL in interface SpatialDialect
Overrides:
getDWithinSQL in class PostgisDialect
Parameters:
columnName - the geometry column to test against
Returns:

getHavingSridSQL

public java.lang.String getHavingSridSQL(java.lang.String columnName)
Description copied from interface: SpatialDialect
Returns the SQL fragment when parsing an HavingSridExpression.

Specified by:
getHavingSridSQL in interface SpatialDialect
Overrides:
getHavingSridSQL in class PostgisDialect
Parameters:
columnName - the geometry column to test against
Returns:

getIsEmptySQL

public java.lang.String getIsEmptySQL(java.lang.String columnName,
                                      boolean isEmpty)
Description copied from interface: SpatialDialect
Returns the SQL fragment when parsing a IsEmptyExpression or IsNotEmpty expression.

Specified by:
getIsEmptySQL in interface SpatialDialect
Overrides:
getIsEmptySQL in class PostgisDialect
Parameters:
columnName - the geometry column
isEmpty - whether the geometry is tested for empty or non-empty
Returns:

getSpatialRelateSQL

public java.lang.String getSpatialRelateSQL(java.lang.String columnName,
                                            int spatialRelation,
                                            boolean hasFilter)

supports

public boolean supports(SpatialFunction function)
Description copied from interface: SpatialDialect
Does this dialect supports the specified SpatialFunction.

Specified by:
supports in interface SpatialDialect
Overrides:
supports in class PostgisDialect
Parameters:
function - SpatialFunction
Returns:
true if this SpatialDialect supports the spatial function specified by the function parameter.