Package org.geotools.data.sqlserver.jtds
Class JTDSSQLServerDialect
- Object
-
- SQLDialect
-
- BasicSQLDialect
-
- SQLServerDialect
-
- JTDSSQLServerDialect
-
public class JTDSSQLServerDialect extends SQLServerDialect
- Author:
- ian.turton
-
-
Field Summary
-
Fields inherited from class SQLDialect
BASE_DBMS_CAPABILITIES, dataStore, forceLongitudeFirst, LOGGER, UNWRAPPER_NOT_FOUND, uwMap
-
-
Constructor Summary
Constructors Constructor Description JTDSSQLServerDialect(JDBCDataStore dataStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerClassToSqlMappings(Map<Class<?>,Integer> mappings)
Registers the java type to sql type mappings that the datastore uses when reading and writing objects to and from the database. *void
registerSqlTypeNameToClassMappings(Map<String,Class<?>> mappings)
Registers the sql type name to java type mappings that the dialect uses when reading and writing objects to and from the database.-
Methods inherited from class SQLServerDialect
applyLimitOffset, canGroupOnGeometry, createFilterToSQL, decodeGeometryEnvelope, decodeGeometryValue, dropIndex, encodeGeometryColumn, encodeGeometryEnvelope, encodeGeometryValue, encodeNextSequenceValue, encodeTableName, encodeValue, getGeometryDimension, getGeometryDimensionFromMetadataTable, getGeometryMetadataTable, getGeometrySRID, getGeometrySRIDfromMetadataTable, getGeometryTypeName, getLastAutoGeneratedValue, getMapping, getNextSequenceValue, getOptimizedBounds, handleSelectHints, includeTable, isEstimatedExtentsEnabled, isLimitOffsetSupported, lookupGeneratedValuesPostInsert, postCreateFeatureType, postCreateTable, registerAggregateFunctions, registerSqlTypeToSqlTypeNameOverrides, setEstimatedExtentsEnabled, setForceSpatialIndexes, setGeometryMetadataTable, setTableHints, setUseNativeSerialization, setUseOffSetLimit
-
Methods inherited from class BasicSQLDialect
onDelete, onInsert, onSelect, onUpdate
-
Methods inherited from class SQLDialect
addSupportedHints, applyHintsOnVirtualTables, canSimplifyPoints, convertValue, createCRS, createIndex, decodeGeometryValue, encodeColumnAlias, encodeColumnName, encodeColumnType, encodeCreateTable, encodeGeometryColumnGeneralized, encodeGeometryColumnSimplified, encodeJoin, encodePostColumnCreateTable, encodePostCreateTable, encodePostSelect, encodePrimaryKey, encodeSchemaName, encodeTableAlias, encodeTableName, escapeName, getAggregateConverter, getDefaultVarcharSize, getDesiredTablesType, getIndexes, getLastAutoGeneratedValue, getMapping, getNameEscape, getNextAutoGeneratedValue, getPkColumnValue, getPrimaryKey, getRestrictions, getResultTypes, getSequenceForColumn, getSQLType, handleUserDefinedType, initializeConnection, isAggregatedSortSupported, isArray, isAutoCommitQuery, isGroupBySupported, ne, postCreateAttribute, postDropTable, preDropTable, registerSqlTypeToClassMappings, splitFilter, supportsSchemaForIndex, unwrapConnection
-
-
-
-
Constructor Detail
-
JTDSSQLServerDialect
public JTDSSQLServerDialect(JDBCDataStore dataStore)
- Parameters:
dataStore
-
-
-
Method Detail
-
registerClassToSqlMappings
public void registerClassToSqlMappings(Map<Class<?>,Integer> mappings)
Description copied from class:SQLDialect
Registers the java type to sql type mappings that the datastore uses when reading and writing objects to and from the database. *Subclasses should extend (not override) this method to provide additional mappings, or to override mappings provided by this implementation. This implementation provides the following mappings:
- Overrides:
registerClassToSqlMappings
in classSQLServerDialect
-
registerSqlTypeNameToClassMappings
public void registerSqlTypeNameToClassMappings(Map<String,Class<?>> mappings)
Description copied from class:SQLDialect
Registers the sql type name to java type mappings that the dialect uses when reading and writing objects to and from the database.Subclasses should extend (not override) this method to provide additional mappings, or to override mappings provided by this implementation. This implementation provides the following mappings:
- Overrides:
registerSqlTypeNameToClassMappings
in classSQLServerDialect
-
-