Package io.debezium.connector.oracle
Class OracleDatabaseSchema
- java.lang.Object
-
- io.debezium.relational.RelationalDatabaseSchema
-
- io.debezium.relational.HistorizedRelationalDatabaseSchema
-
- io.debezium.connector.oracle.OracleDatabaseSchema
-
- All Implemented Interfaces:
DatabaseSchema<TableId>,HistorizedDatabaseSchema<TableId>,AutoCloseable
public class OracleDatabaseSchema extends HistorizedRelationalDatabaseSchema
The schema of an Oracle database.- Author:
- Gunnar Morling
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.debezium.schema.HistorizedDatabaseSchema
HistorizedDatabaseSchema.SchemaChangeEventConsumer
-
-
Field Summary
Fields Modifier and Type Field Description private OracleDdlParserddlParserprivate static org.slf4j.LoggerLOGGERprivate booleanstorageInitializationExecuted-
Fields inherited from class io.debezium.relational.HistorizedRelationalDatabaseSchema
databaseHistory
-
Fields inherited from interface io.debezium.schema.DatabaseSchema
NO_CAPTURED_DATA_COLLECTIONS_WARNING
-
-
Constructor Summary
Constructors Constructor Description OracleDatabaseSchema(OracleConnectorConfig connectorConfig, OracleValueConverters valueConverters, DefaultValueConverter defaultValueConverter, SchemaNameAdjuster schemaNameAdjuster, TopicSelector<TableId> topicSelector, StreamingAdapter.TableNameCaseSensitivity tableNameCaseSensitivity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplySchemaChange(SchemaChangeEvent schemaChange)OracleDdlParsergetDdlParser()TablesgetTables()booleanhistoryExists()Return true if the database history entity existsvoidinitializeStorage()booleanisStorageInitializationExecuted()-
Methods inherited from class io.debezium.relational.HistorizedRelationalDatabaseSchema
close, isHistorized, record, recover, skipUnparseableDdlStatements, storeOnlyCapturedTables, tableInformationComplete
-
Methods inherited from class io.debezium.relational.RelationalDatabaseSchema
assureNonEmptySchema, buildAndRegisterSchema, clearSchemas, getTableFilter, refresh, refreshSchema, removeSchema, schemaFor, tableFor, tableIds, tables
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.schema.DatabaseSchema
assureNonEmptySchema, schemaFor
-
Methods inherited from interface io.debezium.schema.HistorizedDatabaseSchema
recover
-
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
ddlParser
private final OracleDdlParser ddlParser
-
storageInitializationExecuted
private boolean storageInitializationExecuted
-
-
Constructor Detail
-
OracleDatabaseSchema
public OracleDatabaseSchema(OracleConnectorConfig connectorConfig, OracleValueConverters valueConverters, DefaultValueConverter defaultValueConverter, SchemaNameAdjuster schemaNameAdjuster, TopicSelector<TableId> topicSelector, StreamingAdapter.TableNameCaseSensitivity tableNameCaseSensitivity)
-
-
Method Detail
-
getTables
public Tables getTables()
-
getDdlParser
public OracleDdlParser getDdlParser()
- Specified by:
getDdlParserin classHistorizedRelationalDatabaseSchema
-
applySchemaChange
public void applySchemaChange(SchemaChangeEvent schemaChange)
-
initializeStorage
public void initializeStorage()
- Specified by:
initializeStoragein interfaceHistorizedDatabaseSchema<TableId>- Overrides:
initializeStoragein classHistorizedRelationalDatabaseSchema
-
isStorageInitializationExecuted
public boolean isStorageInitializationExecuted()
-
historyExists
public boolean historyExists()
Return true if the database history entity exists
-
-