Uses of Class
io.debezium.relational.TableId
-
-
Uses of TableId in io.debezium.jdbc
Methods in io.debezium.jdbc with type parameters of type TableId Modifier and Type Method Description <T extends DatabaseSchema<TableId>>
ObjectJdbcConnection. getColumnValue(ResultSet rs, int columnIndex, Column column, Table table, T schema)
Reads a value from JDBC result set and execute per-connector conversion if needed<T extends DatabaseSchema<TableId>>
Object[]JdbcConnection. rowToArray(Table table, T databaseSchema, ResultSet rs, ColumnUtils.ColumnArray columnArray)
Converts aResultSet
row to an array of ObjectsMethods in io.debezium.jdbc that return types with arguments of type TableId Modifier and Type Method Description private Map<TableId,List<Column>>
JdbcConnection. getColumnsDetails(String databaseCatalog, String schemaNamePattern, String tableName, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, DatabaseMetaData metadata, Set<TableId> viewIds)
Set<TableId>
JdbcConnection. readAllTableNames(String[] tableTypes)
Get the identifiers of all available tables.Set<TableId>
JdbcConnection. readTableNames(String databaseCatalog, String schemaNamePattern, String tableNamePattern, String[] tableTypes)
Get the identifiers of the tables.Methods in io.debezium.jdbc with parameters of type TableId Modifier and Type Method Description String
JdbcConnection. buildSelectWithRowLimits(TableId tableId, int limit, String projection, Optional<String> condition, String orderBy)
String
JdbcConnection. quotedTableIdString(TableId tableId)
Converts a table id into a string with all components of the id quoted so non-alphanumeric characters are properly handled.List<String>
JdbcConnection. readPrimaryKeyNames(DatabaseMetaData metadata, TableId id)
protected List<String>
JdbcConnection. readPrimaryKeyOrUniqueIndexNames(DatabaseMetaData metadata, TableId id)
protected Optional<ColumnEditor>
JdbcConnection. readTableColumn(ResultSet columnMetadata, TableId tableId, Tables.ColumnNameFilter columnFilter)
Returns aColumnEditor
representing the current record of the given result set of column metadata, if included in column.include.list.List<String>
JdbcConnection. readTableUniqueIndices(DatabaseMetaData metadata, TableId id)
Method parameters in io.debezium.jdbc with type arguments of type TableId Modifier and Type Method Description private Map<TableId,List<Column>>
JdbcConnection. getColumnsDetails(String databaseCatalog, String schemaNamePattern, String tableName, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, DatabaseMetaData metadata, Set<TableId> viewIds)
-
Uses of TableId in io.debezium.pipeline.metrics
Methods in io.debezium.pipeline.metrics with parameters of type TableId Modifier and Type Method Description void
SnapshotChangeEventSourceMetrics. rowsScanned(TableId tableId, long numRows)
-
Uses of TableId in io.debezium.pipeline.signal
Fields in io.debezium.pipeline.signal with type parameters of type TableId Modifier and Type Field Description private EventDispatcher<TableId>
SchemaChanges. dispatcher
-
Uses of TableId in io.debezium.pipeline.source.spi
Methods in io.debezium.pipeline.source.spi with parameters of type TableId Modifier and Type Method Description void
SnapshotProgressListener. rowsScanned(TableId tableId, long numRows)
-
Uses of TableId in io.debezium.relational
Fields in io.debezium.relational declared as TableId Modifier and Type Field Description private TableId
ChangeTable. changeTableId
private TableId
NoOpTableEditorImpl. id
private TableId
TableEditorImpl. id
private TableId
TableImpl. id
private TableId
TableSchema. id
private TableId
ChangeTable. sourceTableId
private TableId
ColumnId. tableId
Fields in io.debezium.relational with type parameters of type TableId Modifier and Type Field Description Set<TableId>
RelationalSnapshotChangeEventSource.RelationalSnapshotContext. capturedSchemaTables
Set<TableId>
RelationalSnapshotChangeEventSource.RelationalSnapshotContext. capturedTables
protected EventDispatcher<TableId>
RelationalSnapshotChangeEventSource. dispatcher
private Predicate<TableId>
Selectors.TableSelectionPredicateBuilder. tableExclusions
private Predicate<TableId>
Selectors.TableSelectionPredicateBuilder. tableInclusions
private TopicSelector<TableId>
RelationalDatabaseSchema. topicSelector
private ConcurrentMap<TableId,TableSchema>
RelationalDatabaseSchema.SchemasByTableId. values
private Set<TableId>
Tables.TableIds. values
private ConcurrentMap<TableId,Table>
Tables.TablesById. values
Methods in io.debezium.relational that return TableId Modifier and Type Method Description TableId
ChangeTable. getChangeTableId()
TableId
ChangeTable. getSourceTableId()
abstract TableId
ColumnFilterMode. getTableIdForFilter(String catalog, String schema, String table)
TableId
Table. id()
Get the identifier for this table.TableId
TableImpl. id()
TableId
TableSchema. id()
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.static TableId
TableId. parse(String str, boolean useCatalogBeforeSchema)
Parse the supplied string, extracting up to the first 3 parts into a TableID.TableId
ColumnId. tableId()
Get the identifier for the table that owns this column.TableId
NoOpTableEditorImpl. tableId()
TableId
TableEditor. tableId()
Get the identifier for this table.TableId
TableEditorImpl. tableId()
TableId
TableId. toDoubleQuoted()
Returns a newTableId
with all parts of the identifier using"
character.TableId
TableId. toLowercase()
private TableId
RelationalDatabaseSchema.SchemasByTableId. toLowerCaseIfNeeded(TableId tableId)
private TableId
Tables.TableIds. toLowerCaseIfNeeded(TableId tableId)
private TableId
Tables.TablesById. toLowerCaseIfNeeded(TableId tableId)
TableId
TableId. toQuoted(char quotingChar)
Returns a newTableId
that has all parts of the identifier quoted.Methods in io.debezium.relational that return types with arguments of type TableId Modifier and Type Method Description Predicate<TableId>
Selectors.TableSelectionPredicateBuilder. build()
private Predicate<TableId>
Selectors.TableSelectionPredicateBuilder. buildStartingFromDbFilter(Predicate<String> dbFilter, Predicate<String> schemaFilter, Predicate<TableId> tableFilter)
private Predicate<TableId>
Selectors.TableSelectionPredicateBuilder. buildStartingFromSchemaFilter(Predicate<String> schemaFilter, Predicate<TableId> tableFilter)
Set<TableId>
Tables. drainChanges()
(package private) Set<Map.Entry<TableId,Table>>
Tables.TablesById. entrySet()
static Map<TableId,Predicate<Column>>
ColumnId. filter(String columnExcludeList)
Create the map of predicate functions that specify which columns are to be included.protected abstract Set<TableId>
RelationalSnapshotChangeEventSource. getAllTableIds(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P,O> snapshotContext)
Returns all candidate tables; the current filter configuration will be applied to the result set, resulting in the effective set of captured tables.Map<TableId,String>
RelationalDatabaseConnectorConfig. getSnapshotSelectOverridesByTable()
Returns any SELECT overrides, if present.Set<TableId>
Tables.TablesById. ids()
private Set<TableId>
RelationalSnapshotChangeEventSource. sort(Set<TableId> capturedTables)
Set<TableId>
RelationalDatabaseSchema. tableIds()
Returns the set of table ids included in the current filter configuration.Set<TableId>
Tables. tableIds()
Get the set ofTableId
s for which there is aSchema
.Set<TableId>
Tables.TableIds. toSet()
private Stream<TableId>
RelationalSnapshotChangeEventSource. toTableIds(Set<TableId> tableIds, Pattern pattern)
Methods in io.debezium.relational with parameters of type TableId Modifier and Type Method Description void
Tables.TableIds. add(TableId tableId)
protected boolean
RelationalSnapshotChangeEventSource. additionalColumnFilter(TableId tableId, String columnName)
Additional filter handling for preparing column names for snapshot selectprivate 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, ColumnMappers mappers)
Obtain the array of converters for each column in a row.protected StructGenerator
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 ValueConverter
TableSchemaBuilder. createValueConverterFor(TableId tableId, Column column, org.apache.kafka.connect.data.Field fieldDefn)
Create aValueConverter
that can be used to convert row values for the given column into the Kafka Connect value object described by thefield definition
.protected StructGenerator
TableSchemaBuilder. createValueGenerator(org.apache.kafka.connect.data.Schema schema, TableId tableId, List<Column> columns, Tables.ColumnNameFilter filter, ColumnMappers mappers)
Creates the function that produces a Kafka Connect value object for a row of data.private Optional<String>
RelationalSnapshotChangeEventSource. determineSnapshotSelect(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P,O> snapshotContext, TableId tableId)
Returns a valid query string for the specified table, either given by the user via snapshot select overrides or defaulting to a statement provided by the DB-specific change event source.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.protected String
RelationalSnapshotChangeEventSource. enhanceOverriddenSelect(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P,O> snapshotContext, String overriddenSelect, TableId tableId)
This method is overridden for Oracle to implement "as of SCN" predicateTable
Tables. forTable(TableId tableId)
Obtain the definition of the identified table.private String
CustomConverterRegistry. fullColumnName(TableId table, Column column)
TableSchema
RelationalDatabaseSchema.SchemasByTableId. get(TableId tableId)
Table
Tables.TablesById. get(TableId tableId)
protected ChangeRecordEmitter
RelationalSnapshotChangeEventSource. getChangeRecordEmitter(AbstractSnapshotChangeEventSource.SnapshotContext<P,O> snapshotContext, TableId tableId, Object[] row)
Returns aChangeRecordEmitter
producing the change records for the given table row.protected abstract Optional<String>
RelationalSnapshotChangeEventSource. getSnapshotSelect(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P,O> snapshotContext, TableId tableId, List<String> columns)
Returns the SELECT statement to be used for scanning the given table or empty value if the table will be streamed from but not snapshottedOptional<ValueConverter>
CustomConverterRegistry. getValueConverter(TableId table, Column column)
Obtain a pre-registered converter for a given column.boolean
Tables.TableFilter. isIncluded(TableId tableId)
Determines whether the given table should be included in the currentDatabaseSchema
.static TableEditor
TableEditor. noOp(TableId id)
Create a new editor that does nothing.Table
Tables. overwriteTable(TableId tableId, List<Column> columnDefs, List<String> primaryKeyColumnNames, String defaultCharsetName)
Add or update the definition for the identified table.TableSchema
RelationalDatabaseSchema.SchemasByTableId. put(TableId tableId, TableSchema updated)
Table
Tables.TablesById. put(TableId tableId, Table updated)
protected void
RelationalDatabaseSchema. refreshSchema(TableId id)
Optional<org.apache.kafka.connect.data.SchemaBuilder>
CustomConverterRegistry. registerConverterFor(TableId table, Column column)
Create and register a converter for a given database column.TableSchema
RelationalDatabaseSchema.SchemasByTableId. remove(TableId tableId)
Table
Tables.TablesById. remove(TableId tableId)
protected void
RelationalDatabaseSchema. removeSchema(TableId id)
Table
Tables. removeTable(TableId tableId)
Remove the definition of the identified table.Table
Tables. renameTable(TableId existingTableId, TableId newTableId)
Rename an existing table.protected OptionalLong
RelationalSnapshotChangeEventSource. rowCountForTable(TableId tableId)
If connector is able to provide statistics-based number of records per table.TableSchema
RelationalDatabaseSchema. schemaFor(TableId id)
Get theSchema information
for the table with the given identifier, if that table exists and is included by the filter configuration.Table
RelationalDatabaseSchema. tableFor(TableId id)
Get theTable
meta-data for the table with the given identifier, if that table exists and is included by the filter configurationTableEditor
NoOpTableEditorImpl. tableId(TableId id)
TableEditor
TableEditor. tableId(TableId tableId)
Set the table identifier.TableEditor
TableEditorImpl. tableId(TableId id)
private String
TableSchemaBuilder. tableSchemaName(TableId tableId)
Returns the type schema name for the given table.private TableId
RelationalDatabaseSchema.SchemasByTableId. toLowerCaseIfNeeded(TableId tableId)
private TableId
Tables.TableIds. toLowerCaseIfNeeded(TableId tableId)
private TableId
Tables.TablesById. toLowerCaseIfNeeded(TableId tableId)
String
Selectors.TableIdToStringMapper. toString(TableId tableId)
Table
Tables. updateTable(TableId tableId, Function<Table,Table> changer)
Add or update the definition for the identified table.private ValueConverter
TableSchemaBuilder. wrapInMappingConverterIfNeeded(ColumnMappers mappers, TableId tableId, Column column, ValueConverter converter)
Method parameters in io.debezium.relational with type arguments of type TableId Modifier and Type Method Description (package private) void
Tables.TablesById. forEach(BiConsumer<? super TableId,? super Table> action)
static Tables.TableFilter
Tables.TableFilter. fromPredicate(Predicate<TableId> predicate)
Creates aTables.TableFilter
from the given predicate.private Set<TableId>
RelationalSnapshotChangeEventSource. sort(Set<TableId> capturedTables)
private Stream<TableId>
RelationalSnapshotChangeEventSource. toTableIds(Set<TableId> tableIds, Pattern pattern)
Constructors in io.debezium.relational with parameters of type TableId Constructor Description ChangeTable(String captureInstance, TableId sourceTableId, TableId changeTableId, int changeTableObjectId)
Creates an object that represents a source table's change table.ColumnId(TableId tableId, String columnName)
Create a new column identifier.TableImpl(TableId id, List<Column> sortedColumns, List<String> pkColumnNames, String defaultCharsetName)
TableSchema(TableId id, org.apache.kafka.connect.data.Schema keySchema, StructGenerator keyGenerator, Envelope envelopeSchema, org.apache.kafka.connect.data.Schema valueSchema, StructGenerator valueGenerator)
Create an instance with the specifiedSchema
s for the keys and values, and the functions that generate the key and value for a given row of data.Constructor parameters in io.debezium.relational with type arguments of type TableId Constructor Description HistorizedRelationalDatabaseSchema(HistorizedRelationalDatabaseConnectorConfig config, TopicSelector<TableId> topicSelector, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, TableSchemaBuilder schemaBuilder, boolean tableIdCaseInsensitive, Key.KeyMapper customKeysMapper)
RelationalDatabaseSchema(RelationalDatabaseConnectorConfig config, TopicSelector<TableId> topicSelector, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, TableSchemaBuilder schemaBuilder, boolean tableIdCaseInsensitive, Key.KeyMapper customKeysMapper)
RelationalSnapshotChangeEventSource(RelationalDatabaseConnectorConfig connectorConfig, JdbcConnection jdbcConnection, RelationalDatabaseSchema schema, EventDispatcher<TableId> dispatcher, Clock clock, SnapshotProgressListener snapshotProgressListener)
-
Uses of TableId in io.debezium.relational.ddl
Fields in io.debezium.relational.ddl declared as TableId Modifier and Type Field Description private TableId
DdlParserListener.TableAlteredEvent. previousTableId
private TableId
DdlParserListener.TableEvent. tableId
private TableId
DdlParserListener.TableIndexEvent. tableId
Methods in io.debezium.relational.ddl that return TableId Modifier and Type Method Description TableId
DdlParserListener.TableAlteredEvent. previousTableId()
If the table was renamed, then get the old identifier of the table before it was renamed.TableId
AbstractDdlParser. resolveTableId(String schemaName, String tableName)
Create aTableId
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.Methods in io.debezium.relational.ddl with parameters of type TableId Modifier and Type Method Description protected void
AbstractDdlParser. signalAlterTable(TableId id, TableId previousId, String statement)
Signal an alter table event to ddl changes listener.protected void
AbstractDdlParser. signalAlterView(TableId id, TableId previousId, String statement)
Signal an alter view event to ddl changes listener.protected void
AbstractDdlParser. signalCreateIndex(String indexName, TableId id, String statement)
Signal a create index event to ddl changes listener.protected void
AbstractDdlParser. signalCreateTable(TableId id, String statement)
Signal a create table event to ddl changes listener.protected void
AbstractDdlParser. signalCreateView(TableId id, String statement)
Signal a create view event to ddl changes listener.protected void
AbstractDdlParser. signalDropIndex(String indexName, TableId id, String statement)
Signal a drop index event to ddl changes listener.protected void
AbstractDdlParser. signalDropTable(TableId id, String statement)
Signal a drop table event to ddl changes listener.protected void
AbstractDdlParser. signalDropView(TableId id, String statement)
Signal a drop view event to ddl changes listener.protected void
AbstractDdlParser. signalTruncateTable(TableId id, String statement)
Signal a truncate table event to ddl changes listener.Method parameters in io.debezium.relational.ddl with type arguments of type TableId Modifier and Type Method Description private void
DdlChanges. addTable(Set<TableId> tables, DdlParserListener.Event event)
void
DdlChanges.DatabaseStatementConsumer. consume(String databaseName, Set<TableId> tableList, List<String> ddlStatements)
void
DdlChanges.DatabaseStatementStringConsumer. consume(String databaseName, Set<TableId> tableList, String ddlStatements)
Constructors in io.debezium.relational.ddl with parameters of type TableId Constructor 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)
TableTruncatedEvent(TableId tableId, String ddlStatement, boolean isView)
-
Uses of TableId in io.debezium.relational.history
Fields in io.debezium.relational.history declared as TableId Modifier and Type Field Description private TableId
TableChanges.TableChange. id
Methods in io.debezium.relational.history that return TableId Modifier and Type Method Description TableId
TableChanges.TableChange. getId()
Methods in io.debezium.relational.history with parameters of type TableId Modifier and Type Method Description private static Table
JsonTableChangeSerializer. fromDocument(TableId id, Document document)
-
Uses of TableId in io.debezium.relational.mapping
Fields in io.debezium.relational.mapping with type parameters of type TableId Modifier and Type Field Description protected BiPredicate<TableId,Column>
ColumnMappers.MapperRule. predicate
Methods in io.debezium.relational.mapping that return TableId Modifier and Type Method Description private TableId
ColumnMappers.Builder. mappedTableId(TableId tableId)
Methods in io.debezium.relational.mapping with parameters of type TableId Modifier and Type Method Description String
ColumnMappers.Builder. fullyQualifiedColumnDatatype(TableId tableId, Column column)
String
ColumnMappers.Builder. fullyQualifiedColumnName(TableId tableId, Column column)
String
ColumnMappers.Builder. mappedTableColumnDatatype(TableId tableId, Column column)
String
ColumnMappers.Builder. mappedTableColumnName(TableId tableId, Column column)
private TableId
ColumnMappers.Builder. mappedTableId(TableId tableId)
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.protected boolean
ColumnMappers.MapperRule. matches(TableId tableId, Column column)
Constructor parameters in io.debezium.relational.mapping with type arguments of type TableId Constructor Description MapperRule(BiPredicate<TableId,Column> predicate, ColumnMapper mapper)
-
Uses of TableId in io.debezium.schema
Method parameters in io.debezium.schema with type arguments of type TableId Modifier and Type Method Description void
HistorizedDatabaseSchema.SchemaChangeEventConsumer. consume(SchemaChangeEvent event, Collection<TableId> tableIds)
-