Package io.debezium.schema
Interface HistorizedDatabaseSchema<I extends io.debezium.spi.schema.DataCollectionId>
- Type Parameters:
I- The collection id type of this schema
- All Superinterfaces:
AutoCloseable,DatabaseSchema<I>
- All Known Implementing Classes:
HistorizedRelationalDatabaseSchema
public interface HistorizedDatabaseSchema<I extends io.debezium.spi.schema.DataCollectionId>
extends DatabaseSchema<I>
A database schema that is historized, i.e. it undergoes schema changes and can be recovered from a persistent schema
history.
- Author:
- Gunnar Morling
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Field Summary
Fields inherited from interface io.debezium.schema.DatabaseSchema
NO_CAPTURED_DATA_COLLECTIONS_WARNING -
Method Summary
Modifier and TypeMethodDescriptionvoidapplySchemaChange(SchemaChangeEvent schemaChange) voidvoiddefault voidrecover(Partition partition, OffsetContext offset) booleanbooleanbooleanMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface io.debezium.schema.DatabaseSchema
assureNonEmptySchema, dataCollectionIds, isHistorized, schemaFor, tableInformationComplete
-
Method Details
-
applySchemaChange
-
recover
- Throws:
InterruptedException
-
recover
- Throws:
InterruptedException
-
initializeStorage
void initializeStorage() -
ddlFilter
-
skipUnparseableDdlStatements
boolean skipUnparseableDdlStatements() -
storeOnlyCapturedTables
boolean storeOnlyCapturedTables() -
storeOnlyCapturedDatabases
boolean storeOnlyCapturedDatabases() -
getSchemaHistory
SchemaHistory getSchemaHistory()
-