Package io.debezium.schema
Interface DatabaseSchema<I extends DataCollectionId>
-
- Type Parameters:
I
- The type ofDataCollectionId
used by a given implementation
- All Known Subinterfaces:
HistorizedDatabaseSchema<I>
- All Known Implementing Classes:
HistorizedRelationalDatabaseSchema
,RelationalDatabaseSchema
public interface DatabaseSchema<I extends DataCollectionId>
The schema of a database. Provides information about the structures of the tables (collections etc.) it contains.- Author:
- Gunnar Morling
-
-
Field Summary
Fields Modifier and Type Field Description static String
NO_CAPTURED_DATA_COLLECTIONS_WARNING
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
assureNonEmptySchema()
void
close()
boolean
isHistorized()
Whether this schema is historized (i.e.DataCollectionSchema
schemaFor(I id)
boolean
tableInformationComplete()
Indicates whether or not table names are guaranteed to be fully present, regardless of whether or not a snapshot has been performed.
-
-
-
Field Detail
-
NO_CAPTURED_DATA_COLLECTIONS_WARNING
static final String NO_CAPTURED_DATA_COLLECTIONS_WARNING
- See Also:
- Constant Field Values
-
-
Method Detail
-
close
void close()
-
schemaFor
DataCollectionSchema schemaFor(I id)
-
tableInformationComplete
boolean tableInformationComplete()
Indicates whether or not table names are guaranteed to be fully present, regardless of whether or not a snapshot has been performed.- Returns:
- boolean indicating if table names are present
-
assureNonEmptySchema
default void assureNonEmptySchema()
-
isHistorized
boolean isHistorized()
Whether this schema is historized (i.e. a history of all schema changes is kept which is recovered upon connector restart) or not.
-
-