Uses of Interface
io.debezium.relational.Table
Package
Description
-
Uses of Table in io.debezium.jdbc
Modifier and TypeMethodDescriptionJdbcConnection.getColumnValue
(ResultSet rs, int columnIndex, Column column, Table table) Reads a value from JDBC result set and execute per-connector conversion if neededObject[]
JdbcConnection.rowToArray
(Table table, ResultSet rs, ColumnUtils.ColumnArray columnArray) Converts aResultSet
row to an array of Objects -
Uses of Table in io.debezium.pipeline.source.snapshot.incremental
Modifier and TypeFieldDescriptionprivate Table
AbstractIncrementalSnapshotChangeEventSource.currentTable
private Table
AbstractIncrementalSnapshotContext.schema
Modifier and TypeMethodDescriptionAbstractIncrementalSnapshotContext.getSchema()
IncrementalSnapshotContext.getSchema()
private Table
private Table
AbstractIncrementalSnapshotChangeEventSource.readSchema()
protected Table
AbstractIncrementalSnapshotChangeEventSource.refreshTableSchema
(Table table) Modifier and TypeMethodDescriptionprotected void
AbstractIncrementalSnapshotChangeEventSource.addKeyColumnsToCondition
(Table table, StringBuilder sql, String predicate) private void
AbstractIncrementalSnapshotChangeEventSource.addLowerBound
(Table table, StringBuilder sql) protected String
AbstractIncrementalSnapshotChangeEventSource.buildChunkQuery
(Table table, int limit, Optional<String> additionalCondition) protected String
AbstractIncrementalSnapshotChangeEventSource.buildChunkQuery
(Table table, Optional<String> additionalCondition) protected String
AbstractIncrementalSnapshotChangeEventSource.buildMaxPrimaryKeyQuery
(Table table, Optional<String> additionalCondition) protected String
AbstractIncrementalSnapshotChangeEventSource.buildProjection
(Table table) protected Table
AbstractIncrementalSnapshotChangeEventSource.refreshTableSchema
(Table table) void
void
-
Uses of Table in io.debezium.relational
Modifier and TypeFieldDescriptionprivate Table
ChangeTable.sourceTable
The table from which the changes are capturedprivate final Table
Key.Builder.table
private final Table
Key.table
Modifier and TypeFieldDescriptionprivate final ConcurrentMap<TableId,
Table> Tables.TablesById.values
Modifier and TypeMethodDescriptionNoOpTableEditorImpl.create()
TableEditor.create()
Obtain an immutable table definition representing the current state of this editor.TableEditorImpl.create()
Obtain the definition of the identified table.Obtain the definition of the identified table.ChangeTable.getSourceTable()
Tables.overwriteTable
(Table table) Add or update the definition for the identified table.Tables.overwriteTable
(TableId tableId, List<Column> columnDefs, List<String> primaryKeyColumnNames, String defaultCharsetName, List<Attribute> attributes) Add or update the definition for the identified table.Tables.removeTable
(TableId tableId) Remove the definition of the identified table.Tables.renameTable
(TableId existingTableId, TableId newTableId) Rename an existing table.Get theTable
meta-data for the table with the given identifier, if that table exists and is included by the filter configurationTables.updateTable
(TableId tableId, Function<Table, Table> changer) Add or update the definition for the identified table.Modifier and TypeMethodDescriptionprotected void
TableSchemaBuilder.addField
(org.apache.kafka.connect.data.SchemaBuilder builder, Table table, Column column, ColumnMapper mapper) Add to the suppliedSchemaBuilder
a field for the column with the given information.protected void
RelationalDatabaseSchema.buildAndRegisterSchema
(Table table) Builds up the CDC event schema for the given table and stores it in this schema.TableSchemaBuilder.create
(TopicNamingStrategy topicNamingStrategy, Table table, Tables.ColumnNameFilter filter, ColumnMappers mappers, Key.KeyMapper keysMapper) Create aTableSchema
from the giventable definition
.private void
RelationalSnapshotChangeEventSource.createDataEventsForTable
(ChangeEventSource.ChangeEventSourceContext sourceContext, RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, EventDispatcher.SnapshotReceiver<P> snapshotReceiver, Table table, int tableOrder, int tableCount) Dispatches the data change events for the records of a single table.protected abstract SchemaChangeEvent
RelationalSnapshotChangeEventSource.getCreateTableEvent
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, Table table) Creates aSchemaChangeEvent
representing the creation of the given table.Key.KeyMapper.getKeyKolumns
(Table table) RelationalSnapshotChangeEventSource.getPreparedColumnNames
(P partition, Table table) Prepares a list of columns to be used in the snapshot select.Tables.overwriteTable
(Table table) Add or update the definition for the identified table.void
Refreshes the schema content with a table constructed externallyvoid
ChangeTable.setSourceTable
(Table sourceTable) Modifier and TypeMethodDescription(package private) void
Tables.TablesById.forEach
(BiConsumer<? super TableId, ? super Table> action) Tables.updateTable
(TableId tableId, Function<Table, Table> changer) Add or update the definition for the identified table.Tables.updateTable
(TableId tableId, Function<Table, Table> changer) Add or update the definition for the identified table. -
Uses of Table in io.debezium.relational.history
Modifier and TypeMethodDescriptionprivate static Table
JsonTableChangeSerializer.fromDocument
(TableId id, Document document) TableChanges.TableChange.getTable()
Modifier and TypeMethodDescriptionprivate Document
JsonTableChangeSerializer.toDocument
(Table table) private org.apache.kafka.connect.data.Struct
ModifierConstructorDescriptionTableChange
(TableChanges.TableChangeType type, Table table) TableChange
(TableChanges.TableChangeType type, Table table, TableId previousId) -
Uses of Table in io.debezium.relational.mapping
Modifier and TypeMethodDescriptionColumnMappers.mappingConverterFor
(Table table, Column column) Get the value mapping function for the given column. -
Uses of Table in io.debezium.schema
Modifier and TypeMethodDescriptionstatic SchemaChangeEvent
SchemaChangeEvent.of
(SchemaChangeEvent.SchemaChangeEventType type, Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table, boolean isFromSnapshot) Create a schema change event for any event type that does not involve a table rename.static SchemaChangeEvent
SchemaChangeEvent.ofAlter
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table) Create a schema change event for aALTER TABLE
event.static SchemaChangeEvent
SchemaChangeEvent.ofCreate
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table, boolean isFromSnapshot) Create a schema change event for aCREATE TABLE
statement with DDL.static SchemaChangeEvent
SchemaChangeEvent.ofDrop
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table) Create a schema change event for aDROP TABLE
event.static SchemaChangeEvent
SchemaChangeEvent.ofRename
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table, TableId previousTableId) Create a schema change event for aALTER TABLE RENAME
event.static SchemaChangeEvent
SchemaChangeEvent.ofSnapshotCreate
(Partition partition, OffsetContext offsetContext, String databaseName, Table table) Create a schema change event for aCREATE TABLE
statement without DDL from snapshot phase.ModifierConstructorDescriptionprivate
SchemaChangeEvent
(Map<String, ?> partition, Map<String, ?> offset, org.apache.kafka.connect.data.Struct source, String database, String schema, String ddl, Table table, SchemaChangeEvent.SchemaChangeEventType type, boolean isFromSnapshot, TableId previousTableId) ModifierConstructorDescriptionprivate
SchemaChangeEvent
(Map<String, ?> partition, Map<String, ?> offset, org.apache.kafka.connect.data.Struct source, String database, String schema, String ddl, Set<Table> tables, SchemaChangeEvent.SchemaChangeEventType type, boolean isFromSnapshot, Instant timestamp, TableId previousTableId) -
Uses of Table in io.debezium.util
Modifier and TypeMethodDescriptionstatic ColumnUtils.ColumnArray
static ColumnUtils.MappedColumns