Package org.geotools.data.sqlserver.jtds
Class JTDSSqlServerDataStoreFactory
- Object
-
- JDBCDataStoreFactory
-
- SQLServerDataStoreFactory
-
- JTDSSqlServerDataStoreFactory
-
- All Implemented Interfaces:
DataAccessFactory
,DataStoreFactorySpi
,Factory
public class JTDSSqlServerDataStoreFactory extends SQLServerDataStoreFactory
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface DataAccessFactory
DataAccessFactory.Param
-
-
Field Summary
Fields Modifier and Type Field Description static DataAccessFactory.Param
DBTYPE
parameter for database type-
Fields 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 Constructor Description JTDSSqlServerDataStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SQLDialect
createSQLDialect(JDBCDataStore dataStore)
Creates the dialect that the datastore uses for communication with the underlying database.protected String
getDatabaseID()
Returns a string to identify the type of the database.String
getDescription()
Describe the nature of the datasource constructed by this factory.protected String
getDriverClassName()
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 Detail
-
DBTYPE
public static final DataAccessFactory.Param DBTYPE
parameter for database type
-
-
Method Detail
-
getDescription
public String 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
protected SQLDialect createSQLDialect(JDBCDataStore dataStore)
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
protected String 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
protected String getDatabaseID()
Description copied from class:JDBCDataStoreFactory
Returns a string to identify the type of the database.Example: 'postgis'.
- Overrides:
getDatabaseID
in classSQLServerDataStoreFactory
-
getJDBCUrl
protected String getJDBCUrl(Map params) throws IOException
Description copied from class:SQLServerDataStoreFactory
Builds up the JDBC url in a jdbc::// : ;DatabaseName= - Overrides:
getJDBCUrl
in classSQLServerDataStoreFactory
- Throws:
IOException
-
-