Class AccessDialectEpsgFactory
Object
AbstractFactory
ReferencingFactory
AbstractAuthorityFactory
AbstractCachedAuthorityFactory
AbstractEpsgFactory
AccessDialectEpsgFactory
- All Implemented Interfaces:
AuthorityFactory,CRSAuthorityFactory,CSAuthorityFactory,DatumAuthorityFactory,Factory,CoordinateOperationAuthorityFactory,BufferedFactory,Factory,RegistrableFactory
This factory uses the MS-Access dialect of SQL. Because the primary distribution format for the EPSG database is
MS-Access there is very little work to do in our
adaptSQL(java.lang.String) method.- Since:
- 2.4
- Author:
- Jody Garnett
-
Field Summary
Fields inherited from class AbstractEpsgFactory
dataSourceFields inherited from class AbstractCachedAuthorityFactory
cache, factoriesFields inherited from class ReferencingFactory
LOGGERFields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority -
Constructor Summary
ConstructorsConstructorDescriptionAccessDialectEpsgFactory(Hints userHints, Connection connection) Constructs an authority factory using the specified connection. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringInvoked when a newPreparedStatementis about to be created from a SQL string.Methods inherited from class AbstractEpsgFactory
connect, disconnect, dispose, finalize, generateAuthorityCodes, generateCoordinateOperation, generateCoordinateReferenceSystem, generateCoordinateSystem, generateCoordinateSystemAxis, generateDatum, generateEllipsoid, generateExtent, generateFromCoordinateReferenceSystemCodes, generateObject, generateOperationMethod, generateParameterDescriptor, generatePrimeMeridian, generateUnit, getAuthority, getBackingStoreDescription, getConnection, getDescriptionText, getImplementationHints, isPrimaryKey, shutdownMethods inherited from class AbstractCachedAuthorityFactory
createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringCRS, createEngineeringDatum, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createObject, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, getAuthorityCodes, getIdentifiedObjectFinder, noSuchAuthorityCode, toKey, trimAuthorityMethods inherited from class AbstractAuthorityFactory
createExtent, createOperationMethod, createParameterDescriptor, noSuchAuthorityCodeMethods inherited from class ReferencingFactory
ensureNonNull, getVendorMethods inherited from class AbstractFactory
addImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toString
-
Constructor Details
-
AccessDialectEpsgFactory
Constructs an authority factory using the specified connection.- Parameters:
userHints- The underlying factories used for objects creation.connection- The connection to the underlying EPSG database.
-
-
Method Details
-
adaptSQL
Invoked when a newPreparedStatementis about to be created from a SQL string.Since the EPSG database is available mainly in MS-Access format, and this is the target of our super class, we have no work to do here.
- Specified by:
adaptSQLin classAbstractEpsgFactory- Parameters:
statement- The statement in MS-Access syntax.- Returns:
- The SQL statement to use. This implementation returns the string unchanged.
-