| Package | Description |
|---|---|
| io.debezium.relational | |
| io.debezium.relational.ddl | |
| io.debezium.relational.mapping |
| Modifier and Type | Field and Description |
|---|---|
private TableId |
TableImpl.id |
private TableId |
TableEditorImpl.id |
private TableId |
ColumnId.tableId |
| Modifier and Type | Field and Description |
|---|---|
private Set<TableId> |
Tables.changes |
private Predicate<TableId> |
Selectors.TableSelectionPredicateBuilder.tableExclusions |
private Predicate<TableId> |
Selectors.TableSelectionPredicateBuilder.tableInclusions |
private Map<TableId,TableImpl> |
Tables.tablesByTableId |
| Modifier and Type | Method and Description |
|---|---|
TableId |
TableImpl.id() |
TableId |
Table.id()
Get the identifier for this table.
|
static TableId |
TableId.parse(String str)
Parse the supplied string, extracting up to the first 3 parts into a TableID.
|
protected static TableId |
TableId.parse(String[] parts,
int numParts,
boolean useCatalogBeforeSchema)
Parse the supplied string, extracting up to the first 3 parts into a TableID.
|
TableId |
TableEditorImpl.tableId() |
TableId |
TableEditor.tableId()
Get the identifier for this table.
|
TableId |
ColumnId.tableId()
Get the identifier for the table that owns this column.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate<TableId> |
Selectors.TableSelectionPredicateBuilder.build()
|
Set<TableId> |
Tables.drainChanges() |
static Map<TableId,Predicate<Column>> |
ColumnId.filter(String columnBlacklist)
Create the map of predicate functions that specify which columns are to be included.
|
Set<TableId> |
Tables.tableIds()
Get the set of
TableIds for which there is a Schema. |
| Modifier and Type | Method and Description |
|---|---|
private static String |
ColumnId.columnId(TableId tableId,
String columnName) |
int |
TableId.compareTo(TableId that) |
int |
TableId.compareToIgnoreCase(TableId that) |
protected ValueConverter[] |
TableSchemaBuilder.convertersForColumns(org.apache.kafka.connect.data.Schema schema,
TableId tableId,
List<Column> columns,
Predicate<ColumnId> filter,
ColumnMappers mappers)
Obtain the array of converters for each column in a row.
|
protected Function<Object[],Object> |
TableSchemaBuilder.createKeyGenerator(org.apache.kafka.connect.data.Schema schema,
TableId columnSetName,
List<Column> columns)
Creates the function that produces a Kafka Connect key object for a row of data.
|
protected Function<Object[],org.apache.kafka.connect.data.Struct> |
TableSchemaBuilder.createValueGenerator(org.apache.kafka.connect.data.Schema schema,
TableId tableId,
List<Column> columns,
Predicate<ColumnId> filter,
ColumnMappers mappers)
Creates the function that produces a Kafka Connect value object for a row of data.
|
TableEditor |
Tables.editOrCreateTable(TableId tableId)
Obtain an editor for the table with the given ID.
|
TableEditor |
Tables.editTable(TableId tableId)
Obtain an editor for the table with the given ID.
|
Table |
Tables.forTable(TableId tableId)
Obtain the definition of the identified table.
|
Table |
Tables.overwriteTable(TableId tableId,
List<Column> columnDefs,
List<String> primaryKeyColumnNames)
Add or update the definition for the identified table.
|
Table |
Tables.removeTable(TableId tableId)
Remove the definition of the identified table.
|
Table |
Tables.renameTable(TableId existingTableId,
TableId newTableId)
Rename an existing table.
|
TableEditor |
TableEditorImpl.tableId(TableId id) |
TableEditor |
TableEditor.tableId(TableId tableId)
Set the table identifier.
|
Table |
Tables.updateTable(TableId tableId,
Function<Table,Table> changer)
Add or update the definition for the identified table.
|
Table |
Tables.updateTable(TableId tableId,
Tables.TableChanger changer)
Add or update the definition for the identified table.
|
| Modifier and Type | Method and Description |
|---|---|
static Tables.TableNameFilter |
Tables.filterFor(Predicate<TableId> predicate)
Create a
Tables.TableNameFilter for the given Predicate. |
Tables |
Tables.subset(Predicate<TableId> filter) |
| Constructor and Description |
|---|
ColumnId(TableId tableId,
String columnName)
Create a new column identifier.
|
TableImpl(TableId id,
List<Column> sortedColumns,
List<String> pkColumnNames) |
| Modifier and Type | Field and Description |
|---|---|
private TableId |
DdlParserListener.TableAlteredEvent.previousTableId |
private TableId |
DdlParserListener.TableEvent.tableId |
private TableId |
DdlParserListener.TableIndexEvent.tableId |
| Modifier and Type | Method and Description |
|---|---|
protected TableId |
DdlParser.parseQualifiedTableName(TokenStream.Marker start)
Parse the next tokens for a possibly qualified table name.
|
TableId |
DdlParserListener.TableAlteredEvent.previousTableId()
If the table was renamed, then get the old identifier of the table before it was renamed.
|
protected TableId |
DdlParser.resolveTableId(String schemaName,
String tableName)
Create a
TableId from the supplied schema and table names. |
TableId |
DdlParserListener.TableEvent.tableId()
Get the identifier of the primary table affected by this event.
|
TableId |
DdlParserListener.TableIndexEvent.tableId()
Get the identifier of the table to which the index applies.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<TableId> |
DdlParser.parseQualifiedTableNames(TokenStream.Marker start)
Parse the next tokens for one or more comma-separated qualified table names.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
DdlParser.signalAlterTable(TableId id,
TableId previousId,
String statement)
Signal an alter table event to all listeners.
|
protected void |
DdlParser.signalAlterTable(TableId id,
TableId previousId,
TokenStream.Marker statementStart)
Signal an alter table event to all listeners.
|
protected void |
DdlParser.signalAlterView(TableId id,
TableId previousId,
TokenStream.Marker statementStart)
Signal an alter view event to all listeners.
|
protected void |
DdlParser.signalCreateIndex(String indexName,
TableId id,
TokenStream.Marker statementStart)
Signal a create index event to all listeners.
|
protected void |
DdlParser.signalCreateTable(TableId id,
TokenStream.Marker statementStart)
Signal a create table event to all listeners.
|
protected void |
DdlParser.signalCreateView(TableId id,
TokenStream.Marker statementStart)
Signal a create view event to all listeners.
|
protected void |
DdlParser.signalDropIndex(String indexName,
TableId id,
TokenStream.Marker statementStart)
Signal a drop index event to all listeners.
|
protected void |
DdlParser.signalDropTable(TableId id,
String statement)
Signal a drop table event to all listeners.
|
protected void |
DdlParser.signalDropTable(TableId id,
TokenStream.Marker statementStart)
Signal a drop table event to all listeners.
|
protected void |
DdlParser.signalDropView(TableId id,
String statement)
Signal a drop view event to all listeners.
|
protected void |
DdlParser.signalDropView(TableId id,
TokenStream.Marker statementStart)
Signal a drop view event to all listeners.
|
| Constructor and Description |
|---|
TableAlteredEvent(TableId tableId,
TableId previousTableId,
String ddlStatement,
boolean isView) |
TableCreatedEvent(TableId tableId,
String ddlStatement,
boolean isView) |
TableDroppedEvent(TableId tableId,
String ddlStatement,
boolean isView) |
TableEvent(DdlParserListener.EventType type,
TableId tableId,
String ddlStatement,
boolean isView) |
TableIndexCreatedEvent(String indexName,
TableId tableId,
String ddlStatement) |
TableIndexDroppedEvent(String indexName,
TableId tableId,
String ddlStatement) |
TableIndexEvent(DdlParserListener.EventType type,
String indexName,
TableId tableId,
String ddlStatement) |
| Modifier and Type | Method and Description |
|---|---|
ColumnMapper |
ColumnMappers.mapperFor(TableId tableId,
Column column)
Get the value mapping function for the given column.
|
ValueConverter |
ColumnMappers.mappingConverterFor(TableId tableId,
Column column)
Get the value mapping function for the given column.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.