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.Paramparameter for database typeFields inherited from class SQLServerDataStoreFactory
ENCRYPT, ESTIMATED_EXTENTS, FORCE_SPATIAL_INDEX, GEOMETRY_METADATA_TABLE, INSTANCE, INTSEC, NATIVE_PAGING, NATIVE_SERIALIZATION, PORT, TABLE_HINTSFields 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 SQLDialectcreateSQLDialect(JDBCDataStore dataStore) Creates the dialect that the datastore uses for communication with the underlying database.protected StringReturns a string to identify the type of the database.Describe the nature of the datasource constructed by this factory.protected StringReturns the fully qualified class name of the jdbc driver.protected StringgetJDBCUrl(Map params) Builds up the JDBC url in ajdbc:<database>://<host>:<port>;DatabaseName=<dbname>Methods inherited from class SQLServerDataStoreFactory
canProcess, createDataStoreInternal, getValidationQuery, setupParametersMethods 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: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
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
Description copied from class:JDBCDataStoreFactoryReturns the fully qualified class name of the jdbc driver.For example: org.postgresql.Driver
- Overrides:
getDriverClassNamein classSQLServerDataStoreFactory
-
getDatabaseID
Description copied from class:JDBCDataStoreFactoryReturns a string to identify the type of the database.Example: 'postgis'.
- Overrides:
getDatabaseIDin classSQLServerDataStoreFactory
-
getJDBCUrl
Description copied from class:SQLServerDataStoreFactoryBuilds up the JDBC url in ajdbc:<database>://<host>:<port>;DatabaseName=<dbname>- Overrides:
getJDBCUrlin classSQLServerDataStoreFactory- Throws:
IOException
-