| Package | Description |
|---|---|
| io.debezium.relational | |
| io.debezium.relational.ddl |
| Modifier and Type | Field and Description |
|---|---|
private TableId |
TableImpl.id |
private TableId |
TableEditorImpl.id |
| Modifier and Type | Field and Description |
|---|---|
private Set<TableId> |
Tables.changes |
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 delimited with a period (
.) character, extracting up to the first 3 parts into a TableID. |
static TableId |
TableId.parse(String str,
char delimiter,
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.
|
| Modifier and Type | Method and Description |
|---|---|
Set<TableId> |
Tables.drainChanges() |
static Predicate<TableId> |
TableId.filter(String dbWhitelist,
String dbBlacklist,
String tableWhitelist,
String tableBlacklist)
Create a predicate function that allows only those
TableIds that are allowed by the database whitelist (or
not disallowed by the database blacklist) and allowed by the table whitelist (or not disallowed by the table blacklist). |
Set<TableId> |
Tables.tableIds()
Get the set of
TableIds for which there is a Schema. |
| Modifier and Type | Method and Description |
|---|---|
int |
TableId.compareTo(TableId that) |
int |
TableId.compareToIgnoreCase(TableId that) |
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 |
|---|---|
Tables |
Tables.subset(Predicate<TableId> filter) |
| Constructor and Description |
|---|
TableImpl(TableId id,
List<Column> sortedColumns,
List<String> pkColumnNames) |
| Modifier and Type | Method and Description |
|---|---|
protected TableId |
DdlParser.parseQualifiedTableName(TokenStream.Marker start)
Parse the next tokens for a possibly qualified table name.
|
protected TableId |
DdlParser.resolveTableId(String schemaName,
String tableName)
Create a
TableId from the supplied schema and table names. |
Copyright © 2016 JBoss by Red Hat. All rights reserved.