Class SpatialiteDataStoreDriver
java.lang.Object
com.vividsolutions.jump.datastore.spatialdatabases.AbstractSpatialDatabasesDSDriver
com.vividsolutions.jump.datastore.spatialite.SpatialiteDataStoreDriver
- All Implemented Interfaces:
DataStoreDriver
A driver for supplying
SpatialDatabasesDSConnections-
Field Summary
FieldsFields inherited from class AbstractSpatialDatabasesDSDriver
driverName, jdbcClass, jdbcDriver, PARAM_DB_File, PARAM_Instance, PARAM_Password, PARAM_Port, PARAM_Server, PARAM_User, paramClasses, paramNames, schema, urlPrefixFields inherited from interface DataStoreDriver
REGISTRY_CLASSIFICATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection(ParameterList params) returns a spatialite JDBC connection with spatialite extension loaded if possible if not, a property will tell soDefault icon for this driver after a connection to the datastore has been set.Default icon for this driver when there is no active connection.additionally report spatialite version if connection existsMethods inherited from class AbstractSpatialDatabasesDSDriver
createJdbcConnection, createJdbcConnection, createJdbcUrl, getJdbcClass, getJdbcDriver, getJdbcDriverVersion, getName, getParamClasses, getParameterListSchema, getParamNames, getSchema, getUrlPrefix, initializeJdbcDriver, isAdHocQuerySupportedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataStoreDriver
toString
-
Field Details
-
JDBC_CLASS
- See Also:
-
-
Constructor Details
-
SpatialiteDataStoreDriver
public SpatialiteDataStoreDriver()
-
-
Method Details
-
getVersion
additionally report spatialite version if connection exists- Specified by:
getVersionin interfaceDataStoreDriver- Overrides:
getVersionin classAbstractSpatialDatabasesDSDriver
-
createConnection
returns a spatialite JDBC connection with spatialite extension loaded if possible if not, a property will tell so- Specified by:
createConnectionin interfaceDataStoreDriver- Specified by:
createConnectionin classAbstractSpatialDatabasesDSDriver- Parameters:
params- list of Connection parameters- Returns:
- a DataStoreConnection
- Throws:
Exception- if an Exception occurs
-
getConnectedIcon
Default icon for this driver after a connection to the datastore has been set. Subclass should overload this method to offer a database specific icon. -
getDisconnectedIcon
Default icon for this driver when there is no active connection. Subclass should overload this method to offer a database specific icon.
-