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 Logger |
LOGGER |
static Version |
VERSION
Current version of EPSG-HSQL plugin.
|
datasource, DATASOURCE_NAME, dynamicDataSource, PRIORITYhints, 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, setDataSourceexit, getBackingStore, isAvailable, isConnected, setTimeoutcreateCartesianCS, 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, getVendornoSuchAuthorityCode, trimAuthorityensureNonNulladdImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toStringcreateCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRScreateCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCScreateDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatumcreateCoordinateOperation, createFromCoordinateReferenceSystemCodescreateObject, getAuthorityCodes, getDescriptionTextgetImplementationHintspublic static final Logger LOGGER
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 ThreadedEpsgFactorynull if none where found.SQLException - if an error occured while creating the data source.protected AbstractAuthorityFactory createBackingStore(Hints hints) throws SQLException
createBackingStore in class ThreadedEpsgFactoryhints - A map of hints, including the low-level factories to use for CRS creation.SQLException - if connection to the database failed.Copyright © 1996–2021 Geotools. All rights reserved.