Package org.geotools.data.sqlserver.jtds
Class JTDSSqlServerDataStoreFactory
Object
JDBCDataStoreFactory
SQLServerDataStoreFactory
JTDSSqlServerDataStoreFactory
- All Implemented Interfaces:
DataAccessFactory
,DataStoreFactorySpi
,Factory
-
Nested Class Summary
Nested classes/interfaces inherited from interface DataAccessFactory
DataAccessFactory.Param
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataAccessFactory.Param
parameter for database typeFields inherited from class SQLServerDataStoreFactory
ESTIMATED_EXTENTS, FORCE_SPATIAL_INDEX, GEOMETRY_METADATA_TABLE, INSTANCE, INTSEC, NATIVE_PAGING, NATIVE_SERIALIZATION, PORT, TABLE_HINTS
Fields inherited from class JDBCDataStoreFactory
BATCH_INSERT_SIZE, CALLBACK_FACTORY, DATABASE, DATASOURCE, EVICTOR_TESTS_PER_RUN, EXPOSE_PK, FETCHSIZE, HOST, MAX_OPEN_PREPARED_STATEMENTS, MAXCONN, MAXWAIT, MIN_EVICTABLE_TIME, MINCONN, NAMESPACE, PASSWD, PK_METADATA_TABLE, SCHEMA, SQL_ON_BORROW, SQL_ON_RELEASE, TEST_WHILE_IDLE, TIME_BETWEEN_EVICTOR_RUNS, USER, VALIDATECONN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SQLDialect
createSQLDialect
(JDBCDataStore dataStore) Creates the dialect that the datastore uses for communication with the underlying database.protected String
Returns a string to identify the type of the database.Describe the nature of the datasource constructed by this factory.protected String
Returns the fully qualified class name of the jdbc driver.protected String
getJDBCUrl
(Map params) Builds up the JDBC url in a jdbc::// : ;DatabaseName= Methods inherited from class SQLServerDataStoreFactory
canProcess, createDataStoreInternal, getValidationQuery, setupParameters
Methods inherited from class JDBCDataStoreFactory
checkDBType, checkDBType, createDataSource, createDataSource, createDataStore, createNewDataStore, createSQLDialect, getDisplayName, getImplementationHints, getParametersInfo, isAvailable
-
Field Details
-
DBTYPE
parameter for database type
-
-
Constructor Details
-
JTDSSqlServerDataStoreFactory
public JTDSSqlServerDataStoreFactory()
-
-
Method Details
-
getDescription
Description copied from interface:DataAccessFactory
Describe the nature of the datasource constructed by this factory.A non localized description of this data store type.
- Specified by:
getDescription
in interfaceDataAccessFactory
- Overrides:
getDescription
in classSQLServerDataStoreFactory
- Returns:
- A human readable description that is suitable for inclusion in a list of available datasources.
-
createSQLDialect
Description copied from class:JDBCDataStoreFactory
Creates the dialect that the datastore uses for communication with the underlying database.- Overrides:
createSQLDialect
in classSQLServerDataStoreFactory
- Parameters:
dataStore
- The datastore.
-
getDriverClassName
Description copied from class:JDBCDataStoreFactory
Returns the fully qualified class name of the jdbc driver.For example: org.postgresql.Driver
- Overrides:
getDriverClassName
in classSQLServerDataStoreFactory
-
getDatabaseID
Description copied from class:JDBCDataStoreFactory
Returns a string to identify the type of the database.Example: 'postgis'.
- Overrides:
getDatabaseID
in classSQLServerDataStoreFactory
-
getJDBCUrl
Description copied from class:SQLServerDataStoreFactory
Builds up the JDBC url in a jdbc::// : ;DatabaseName= - Overrides:
getJDBCUrl
in classSQLServerDataStoreFactory
- Throws:
IOException
-