Interface ExtractionContext
-
- All Known Implementing Classes:
ExtractionContext.EmptyExtractionContext
public interface ExtractionContextDefines a context for performing extraction including providing access to information about ongoing extraction as well as to delegates needed in performing extraction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceExtractionContext.DatabaseObjectAccessIn conjunction withgetDatabaseObjectAccess()provides access to information about known database objects to the extractor.static classExtractionContext.EmptyExtractionContextstatic interfaceExtractionContext.ResultSetProcessor<T>
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidcleanup()ExtractionContext.DatabaseObjectAccessgetDatabaseObjectAccess()IdentifiergetDefaultCatalog()IdentifiergetDefaultSchema()java.sql.ConnectiongetJdbcConnection()java.sql.DatabaseMetaDatagetJdbcDatabaseMetaData()JdbcEnvironmentgetJdbcEnvironment()default <T> TgetQueryResults(java.lang.String queryString, java.lang.Object[] positionalParameters, ExtractionContext.ResultSetProcessor<T> resultSetProcessor)ServiceRegistrygetServiceRegistry()SqlStringGenerationContextgetSqlStringGenerationContext()
-
-
-
Method Detail
-
getServiceRegistry
ServiceRegistry getServiceRegistry()
-
getJdbcEnvironment
JdbcEnvironment getJdbcEnvironment()
-
getSqlStringGenerationContext
SqlStringGenerationContext getSqlStringGenerationContext()
-
getJdbcConnection
java.sql.Connection getJdbcConnection()
-
getJdbcDatabaseMetaData
java.sql.DatabaseMetaData getJdbcDatabaseMetaData()
-
getQueryResults
default <T> T getQueryResults(java.lang.String queryString, java.lang.Object[] positionalParameters, ExtractionContext.ResultSetProcessor<T> resultSetProcessor) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDefaultCatalog
Identifier getDefaultCatalog()
-
getDefaultSchema
Identifier getDefaultSchema()
-
getDatabaseObjectAccess
ExtractionContext.DatabaseObjectAccess getDatabaseObjectAccess()
-
cleanup
void cleanup()
-
-