public interface JDBCHelper extends AutoCloseable
close
String getProviderName()
ExpressionBuilder.GeometrySupportType getGeometrySupportType()
JDBCSQLBuilderBase createSQLBuilder()
String getQuoteForIdentifiers()
String getQuoteForStrings()
boolean allowAutomaticValues()
boolean supportOffsetInSelect()
boolean useSubquery()
boolean hasSpatialFunctions()
boolean canWriteGeometry(int geometryType, int geometrySubtype)
geometryType
- geometrySubtype
- Connection getConnection() throws AccessResourceException
AccessResourceException
Connection getConnectionWritable() throws AccessResourceException
AccessResourceException
String getConnectionURL()
JDBCConnectionParameters getConnectionParameters()
void closeConnection(Connection connection)
GeometryManager getGeometryManager()
ResulSetControler getResulSetControler()
String getSourceId()
ResourceProvider getResource()
void dispose()
void fetchFeature(FeatureProvider feature, ResultSet rs, FeatureAttributeDescriptor[] columns) throws DataException
DataException
void fetchFeature(FeatureProvider feature, ResulSetControler.ResultSetEntry rs) throws DataException
DataException
Geometry getGeometryFromColumn(ResultSet rs, int index) throws DataException
DataException
Geometry getGeometryFromColumn(ResulSetControler.ResultSetEntry rs, int index) throws DataException
DataException
OperationsFactory getOperations()
FeatureProvider createFeature(FeatureType featureType) throws DataException
DataException
JDBCStoreProvider createProvider(JDBCStoreParameters parameters, DataStoreProviderServices providerServices) throws InitializeException
InitializeException
JDBCServerExplorer createServerExplorer(JDBCServerExplorerParameters parameters, DataServerExplorerProviderServices providerServices) throws InitializeException
InitializeException
String getDatabaseCodeFromProyection(IProjection proj)
IProjection getProjectionFromDatabaseCode(String databaseCode)
int getSRSCode(IProjection crs)
crs
- IProjection getProjectionFromSRSId(int srsid)
srsid
- JDBCNewStoreParameters createNewStoreParameters()
JDBCStoreParameters createOpenStoreParameters()
JDBCServerExplorerParameters createServerExplorerParameters()
String getSourceId(JDBCStoreParameters parameters)