Interface DatabaseSchema<I extends io.debezium.spi.schema.DataCollectionId>

Type Parameters:
I - The type of DataCollectionId used by a given implementation
All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
HistorizedDatabaseSchema<I>
All Known Implementing Classes:
HistorizedRelationalDatabaseSchema, RelationalDatabaseSchema

public interface DatabaseSchema<I extends io.debezium.spi.schema.DataCollectionId> extends AutoCloseable
The schema of a database. Provides information about the structures of the tables (collections etc.) it contains.
Author:
Gunnar Morling
  • Field Details

  • Method Details

    • schemaFor

      DataCollectionSchema schemaFor(I id)
    • dataCollectionIds

      default Collection<I> dataCollectionIds()
      Returns the collection of data collection identifiers that are being captured.
      Returns:
      a collection of data collection identifiers
    • 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.