| Package | Description |
|---|---|
| io.debezium.relational | |
| io.debezium.relational.ddl | |
| io.debezium.relational.history | |
| io.debezium.relational.mapping | |
| io.debezium.schema | |
| io.debezium.util |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
TableImpl |
| Modifier and Type | Field and Description |
|---|---|
private Table |
ChangeTable.sourceTable
The table from which the changes are captured
|
private Table |
Key.table |
private Table |
Key.Builder.table |
| Modifier and Type | Field and Description |
|---|---|
private ConcurrentMap<TableId,Table> |
Tables.TablesById.values |
| Modifier and Type | Method and Description |
|---|---|
Table |
TableEditorImpl.create() |
Table |
TableEditor.create()
Obtain an immutable table definition representing the current state of this editor.
|
Table |
NoOpTableEditorImpl.create() |
Table |
Tables.forTable(String catalogName,
String schemaName,
String tableName)
Obtain the definition of the identified table.
|
Table |
Tables.forTable(TableId tableId)
Obtain the definition of the identified table.
|
Table |
Tables.TablesById.get(TableId tableId) |
Table |
ChangeTable.getSourceTable() |
Table |
Tables.overwriteTable(Table table)
Add or update the definition for the identified table.
|
Table |
Tables.overwriteTable(TableId tableId,
List<Column> columnDefs,
List<String> primaryKeyColumnNames,
String defaultCharsetName)
Add or update the definition for the identified table.
|
Table |
Tables.TablesById.put(TableId tableId,
Table updated) |
Table |
Tables.TablesById.remove(TableId tableId) |
Table |
Tables.removeTable(TableId tableId)
Remove the definition of the identified table.
|
Table |
Tables.renameTable(TableId existingTableId,
TableId newTableId)
Rename an existing table.
|
Table |
RelationalDatabaseSchema.tableFor(TableId id)
Get the
Table meta-data for the table with the given identifier, if that table exists and is
included by the filter configuration |
Table |
Tables.updateTable(TableId tableId,
Function<Table,Table> changer)
Add or update the definition for the identified table.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) Set<Map.Entry<TableId,Table>> |
Tables.TablesById.entrySet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TableSchemaBuilder.addField(org.apache.kafka.connect.data.SchemaBuilder builder,
Table table,
Column column,
ColumnMapper mapper)
Add to the supplied
SchemaBuilder 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.
|
TableSchema |
TableSchemaBuilder.create(String schemaPrefix,
String envelopSchemaName,
Table table,
Tables.ColumnNameFilter filter,
ColumnMappers mappers,
Key.KeyMapper keysMapper)
Create a
TableSchema from the given table definition. |
private void |
RelationalSnapshotChangeEventSource.createDataEventsForTable(ChangeEventSource.ChangeEventSourceContext sourceContext,
RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext,
EventDispatcher.SnapshotReceiver snapshotReceiver,
Table table)
Dispatches the data change events for the records of a single table.
|
protected abstract SchemaChangeEvent |
RelationalSnapshotChangeEventSource.getCreateTableEvent(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext,
Table table)
Creates a
SchemaChangeEvent representing the creation of the given table. |
private String |
RelationalDatabaseSchema.getEnvelopeSchemaName(Table table) |
List<Column> |
Key.KeyMapper.getKeyKolumns(Table table) |
Table |
Tables.overwriteTable(Table table)
Add or update the definition for the identified table.
|
Table |
Tables.TablesById.put(TableId tableId,
Table updated) |
void |
ChangeTable.setSourceTable(Table sourceTable) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
Tables.TablesById.forEach(BiConsumer<? super TableId,? super Table> action) |
Table |
Tables.updateTable(TableId tableId,
Function<Table,Table> changer)
Add or update the definition for the identified table.
|
Table |
Tables.updateTable(TableId tableId,
Function<Table,Table> changer)
Add or update the definition for the identified table.
|
| Constructor and Description |
|---|
Builder(Table table) |
Key(Table table,
Key.KeyMapper keyMapper) |
TableImpl(Table table) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Table> |
LegacyDdlParser.parseSelectFromClause(TokenStream.Marker start)
Returns the tables keyed by their aliases that appear in a SELECT clause's "FROM" list.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
LegacyDdlParser.parseAliasedTableInFrom(TokenStream.Marker start,
Map<String,Table> tablesByAlias)
Parse a potentially qualified table name along with an optional alias.
|
| Modifier and Type | Field and Description |
|---|---|
private Table |
TableChanges.TableChange.table |
| Modifier and Type | Method and Description |
|---|---|
private static Table |
JsonTableChangeSerializer.fromDocument(TableId id,
Document document) |
Table |
TableChanges.TableChange.getTable() |
| Modifier and Type | Method and Description |
|---|---|
TableChanges |
TableChanges.alter(Table table) |
TableChanges |
TableChanges.create(Table table) |
TableChanges |
TableChanges.drop(Table table) |
private Document |
JsonTableChangeSerializer.toDocument(Table table) |
private org.apache.kafka.connect.data.Struct |
ConnectTableChangeSerializer.toStruct(Table table) |
| Constructor and Description |
|---|
TableChange(TableChanges.TableChangeType type,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
ValueConverter |
ColumnMappers.mappingConverterFor(Table table,
Column column)
Get the value mapping function for the given column.
|
| Modifier and Type | Field and Description |
|---|---|
private Set<Table> |
SchemaChangeEvent.tables |
| Modifier and Type | Method and Description |
|---|---|
Set<Table> |
SchemaChangeEvent.getTables() |
| Constructor and Description |
|---|
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) |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnUtils.ColumnArray |
ColumnUtils.toArray(ResultSet resultSet,
Table table) |
static ColumnUtils.MappedColumns |
ColumnUtils.toMap(Table table) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.