public class ThreadedHsqlEpsgFactory extends ThreadedEpsgFactory
HSQL.properties
and HSQL.data
files) in a temporary
directory. Future connections to the EPSG database while reuse the cached tables, if available.
Otherwise, the scripts will be executed again in order to recreate them.
If the EPSG database should be created in a different directory (or already exists in that directory), it may be specified as a system property nammed "EPSG-HSQL.directory".
Modifier and Type | Field and Description |
---|---|
static String |
DATABASE_NAME
The database name.
|
static String |
DIRECTORY_KEY
The key for fetching the database directory from system properties.
|
static Version |
VERSION
Current version of EPSG-HSQL plugin.
|
datasource, DATASOURCE_NAME, dynamicDataSource, PRIORITY
LOGGER
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Constructor and Description |
---|
ThreadedHsqlEpsgFactory()
Creates a new instance of this factory.
|
ThreadedHsqlEpsgFactory(Hints hints)
Creates a new instance of this data source using the specified hints.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractAuthorityFactory |
createBackingStore(Hints hints)
Returns the backing-store factory for HSQL syntax.
|
protected DataSource |
createDataSource()
Returns a data source for the HSQL database.
|
canDisposeBackingStore, createBackingStore, dispose, disposeBackingStore, getAuthority, getDataSource, setDataSource
exit, getBackingStore, isAvailable, isConnected, setTimeout
createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringCRS, createEngineeringDatum, createExtent, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createObject, createOperationMethod, createParameterDescriptor, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, getAuthorityCodes, getBackingStoreDescription, getDescriptionText, getIdentifiedObjectFinder, getVendor
noSuchAuthorityCode, trimAuthority
ensureNonNull
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
createObject, getAuthorityCodes, getDescriptionText
getImplementationHints
public static final Version VERSION
public static final String DIRECTORY_KEY
public static final String DATABASE_NAME
public ThreadedHsqlEpsgFactory()
public ThreadedHsqlEpsgFactory(Hints hints)
protected DataSource createDataSource() throws SQLException
createDataSource
in class ThreadedEpsgFactory
null
if none where found.SQLException
- if an error occured while creating the data source.protected AbstractAuthorityFactory createBackingStore(Hints hints) throws SQLException
createBackingStore
in class ThreadedEpsgFactory
hints
- A map of hints, including the low-level factories to use for CRS creation.SQLException
- if connection to the database failed.Copyright © 1996–2019 Geotools. All rights reserved.