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.ParamDBTYPEparameter 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 SQLDialectcreateSQLDialect(JDBCDataStore dataStore)Creates the dialect that the datastore uses for communication with the underlying database.protected StringgetDatabaseID()Returns a string to identify the type of the database.StringgetDescription()Describe the nature of the datasource constructed by this factory.protected StringgetDriverClassName()Returns the fully qualified class name of the jdbc driver.protected StringgetJDBCUrl(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:DataAccessFactoryDescribe the nature of the datasource constructed by this factory.A non localized description of this data store type.
- Specified by:
getDescriptionin interfaceDataAccessFactory- Overrides:
getDescriptionin 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:JDBCDataStoreFactoryCreates the dialect that the datastore uses for communication with the underlying database.- Overrides:
createSQLDialectin classSQLServerDataStoreFactory- Parameters:
dataStore- The datastore.
-
getDriverClassName
protected String getDriverClassName()
Description copied from class:JDBCDataStoreFactoryReturns the fully qualified class name of the jdbc driver.For example: org.postgresql.Driver
- Overrides:
getDriverClassNamein classSQLServerDataStoreFactory
-
getDatabaseID
protected String getDatabaseID()
Description copied from class:JDBCDataStoreFactoryReturns a string to identify the type of the database.Example: 'postgis'.
- Overrides:
getDatabaseIDin classSQLServerDataStoreFactory
-
getJDBCUrl
protected String getJDBCUrl(Map params) throws IOException
Description copied from class:SQLServerDataStoreFactoryBuilds up the JDBC url in a jdbc::// : ;DatabaseName= - Overrides:
getJDBCUrlin classSQLServerDataStoreFactory- Throws:
IOException
-
-