Uses of Class
io.debezium.relational.TableId
Packages that use TableId
Package
Description
-
Uses of TableId in io.debezium.jdbc
Methods in io.debezium.jdbc that return types with arguments of type TableIdModifier and TypeMethodDescriptionJdbcConnection.getAttributeDetails
(TableId tableId) JdbcConnection.getColumnsDetails
(String databaseCatalog, String schemaNamePattern, String tableName, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, DatabaseMetaData metadata, Set<TableId> viewIds) JdbcConnection.readAllTableNames
(String[] tableTypes) Get the identifiers of all available tables.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 TableIdModifier and TypeMethodDescriptionJdbcConnection.buildSelectWithRowLimits
(TableId tableId, int limit, String projection, Optional<String> condition, Optional<String> additionalCondition, String orderBy) JdbcConnection.getAttributeDetails
(TableId tableId) 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.JdbcConnection.readPrimaryKeyNames
(DatabaseMetaData metadata, TableId id) 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.JdbcConnection.readTableUniqueIndices
(DatabaseMetaData metadata, TableId id) Method parameters in io.debezium.jdbc with type arguments of type TableIdModifier and TypeMethodDescriptionJdbcConnection.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.meters
Methods in io.debezium.pipeline.meters with parameters of type TableId -
Uses of TableId in io.debezium.pipeline.metrics
Methods in io.debezium.pipeline.metrics with parameters of type TableIdModifier and TypeMethodDescriptionvoid
DefaultSnapshotChangeEventSourceMetrics.rowsScanned
(P partition, TableId tableId, long numRows) -
Uses of TableId in io.debezium.pipeline.signal
Fields in io.debezium.pipeline.signal with type parameters of type TableIdModifier and TypeFieldDescriptionprivate final EventDispatcher<P,
TableId> SchemaChanges.dispatcher
-
Uses of TableId in io.debezium.pipeline.source.spi
Methods in io.debezium.pipeline.source.spi with parameters of type TableIdModifier and TypeMethodDescriptionvoid
SnapshotProgressListener.rowsScanned
(P partition, TableId tableId, long numRows) -
Uses of TableId in io.debezium.relational
Fields in io.debezium.relational declared as TableIdModifier and TypeFieldDescriptionprivate final TableId
ChangeTable.changeTableId
private TableId
NoOpTableEditorImpl.id
private TableId
TableEditorImpl.id
private final TableId
TableImpl.id
private final TableId
TableSchema.id
private final TableId
ChangeTable.sourceTableId
private final TableId
ColumnId.tableId
Fields in io.debezium.relational with type parameters of type TableIdModifier and TypeFieldDescriptionRelationalSnapshotChangeEventSource.RelationalSnapshotContext.capturedSchemaTables
RelationalSnapshotChangeEventSource.RelationalSnapshotContext.capturedTables
protected final EventDispatcher<P,
TableId> RelationalSnapshotChangeEventSource.dispatcher
Selectors.TableSelectionPredicateBuilder.tableExclusions
Selectors.TableSelectionPredicateBuilder.tableInclusions
private final TopicNamingStrategy<TableId>
RelationalDatabaseSchema.topicNamingStrategy
private final ConcurrentMap<TableId,
TableSchema> RelationalDatabaseSchema.SchemasByTableId.values
Tables.TableIds.values
private final ConcurrentMap<TableId,
Table> Tables.TablesById.values
Methods in io.debezium.relational that return TableIdModifier and TypeMethodDescriptionChangeTable.getChangeTableId()
ChangeTable.getSourceTableId()
abstract TableId
ColumnFilterMode.getTableIdForFilter
(String catalog, String schema, String table) Table.id()
Get the identifier for this table.TableImpl.id()
TableSchema.id()
static TableId
Parse the supplied string, extracting up to the first 3 parts into a TableID.protected static TableId
Parse the supplied string, extracting up to the first 3 parts into a TableID.static TableId
Parse the supplied string, extracting up to the first 3 parts into a TableID.static TableId
TableId.parse
(String str, boolean useCatalogBeforeSchema, TableIdPredicates predicates) Parse the supplied string, extracting up to the first 3 parts into a TableID.static TableId
TableId.parse
(String str, TableIdPredicates predicates) Parse the supplied string, extracting up to the first 3 parts into a TableID.ColumnId.tableId()
Get the identifier for the table that owns this column.NoOpTableEditorImpl.tableId()
TableEditor.tableId()
Get the identifier for this table.TableEditorImpl.tableId()
TableId.toDoubleQuoted()
Returns a newTableId
with all parts of the identifier using"
character.TableId.toLowercase()
private TableId
RelationalDatabaseSchema.SchemasByTableId.toLowerCaseIfNeeded
(TableId tableId) private TableId
Tables.TableIds.toLowerCaseIfNeeded
(TableId tableId) private TableId
Tables.TablesById.toLowerCaseIfNeeded
(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 TableIdModifier and TypeMethodDescriptionSelectors.TableSelectionPredicateBuilder.build()
Selectors.TableSelectionPredicateBuilder.buildStartingFromDbFilter
(Predicate<String> dbFilter, Predicate<String> schemaFilter, Predicate<TableId> tableFilter) Selectors.TableSelectionPredicateBuilder.buildStartingFromSchemaFilter
(Predicate<String> schemaFilter, Predicate<TableId> tableFilter) Tables.drainChanges()
Tables.TablesById.entrySet()
Create the map of predicate functions that specify which columns are to be included.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.RelationalDatabaseConnectorConfig.getSnapshotSelectOverridesByTable()
Returns any SELECT overrides, if present.protected Collection<TableId>
RelationalSnapshotChangeEventSource.getTablesForSchemaChange
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext) Tables.TablesById.ids()
RelationalDatabaseSchema.tableIds()
Returns the set of table ids included in the current filter configuration.Tables.tableIds()
Get the set ofTableId
s for which there is aSchema
.Tables.TableIds.toSet()
RelationalSnapshotChangeEventSource.toTableIds
(Set<TableId> tableIds, Pattern pattern) Methods in io.debezium.relational with parameters of type TableIdModifier and TypeMethodDescriptionvoid
protected boolean
RelationalSnapshotChangeEventSource.additionalColumnFilter
(P partition, TableId tableId, String columnName) Additional filter handling for preparing column names for snapshot selectprivate static String
int
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, TopicNamingStrategy topicNamingStrategy) 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.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.Tables.editOrCreateTable
(TableId tableId) Obtain an editor for the table with the given ID.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" predicateObtain the definition of the identified table.private String
CustomConverterRegistry.fullColumnName
(TableId table, Column column) protected ChangeRecordEmitter<P>
RelationalSnapshotChangeEventSource.getChangeRecordEmitter
(P partition, O offset, TableId tableId, Object[] row, Instant timestamp) Returns aChangeRecordEmitter
producing the change records for the given table row.RelationalSnapshotChangeEventSource.getSnapshotConnectionFirstSelect
(RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P, O> snapshotContext, TableId tableId) 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 snapshottedprotected String
RelationalSnapshotChangeEventSource.getSnapshotSelectOverridesByTable
(TableId tableId) protected Instant
RelationalSnapshotChangeEventSource.getSnapshotSourceTimestamp
(JdbcConnection jdbcConnection, O offset, TableId tableId) For the given table gets source.ts_ms value from the database for snapshot data! For Postgresql its globally static for all tables since postgresql snapshot process setting auto commit off.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
Create a new editor that does nothing.Tables.overwriteTable
(TableId tableId, List<Column> columnDefs, List<String> primaryKeyColumnNames, String defaultCharsetName, List<Attribute> attributes) Add or update the definition for the identified table.RelationalDatabaseSchema.SchemasByTableId.put
(TableId tableId, TableSchema updated) protected void
RelationalDatabaseSchema.refreshSchema
(TableId id) Optional<org.apache.kafka.connect.data.SchemaBuilder>
CustomConverterRegistry.registerConverterFor
(TableId table, Column column, Object defaultValue) Create and register a converter for a given database column.protected void
RelationalDatabaseSchema.removeSchema
(TableId id) Tables.removeTable
(TableId tableId) Remove the definition of the identified 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.Get theSchema information
for the table with the given identifier, if that table exists and is included by the filter configuration.Get theTable
meta-data for the table with the given identifier, if that table exists and is included by the filter configurationSet the table identifier.private TableId
RelationalDatabaseSchema.SchemasByTableId.toLowerCaseIfNeeded
(TableId tableId) private TableId
Tables.TableIds.toLowerCaseIfNeeded
(TableId tableId) private TableId
Tables.TablesById.toLowerCaseIfNeeded
(TableId tableId) 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 TableIdModifier and TypeMethodDescription(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.RelationalSnapshotChangeEventSource.toTableIds
(Set<TableId> tableIds, Pattern pattern) Constructors in io.debezium.relational with parameters of type TableIdModifierConstructorDescriptionChangeTable
(String captureInstance, TableId sourceTableId, TableId changeTableId, int changeTableObjectId) Creates an object that represents a source table's change table.Create a new column identifier.(package private)
TableImpl
(TableId id, List<Column> sortedColumns, List<String> pkColumnNames, String defaultCharsetName, String comment, List<Attribute> attributes) 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 TableIdModifierConstructorDescriptionprotected
HistorizedRelationalDatabaseSchema
(HistorizedRelationalDatabaseConnectorConfig config, TopicNamingStrategy<TableId> topicNamingStrategy, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, TableSchemaBuilder schemaBuilder, boolean tableIdCaseInsensitive, Key.KeyMapper customKeysMapper) protected
RelationalDatabaseSchema
(RelationalDatabaseConnectorConfig config, TopicNamingStrategy<TableId> topicNamingStrategy, Tables.TableFilter tableFilter, Tables.ColumnNameFilter columnFilter, TableSchemaBuilder schemaBuilder, boolean tableIdCaseInsensitive, Key.KeyMapper customKeysMapper) RelationalSnapshotChangeEventSource
(RelationalDatabaseConnectorConfig connectorConfig, MainConnectionProvidingConnectionFactory<? extends JdbcConnection> jdbcConnectionFactory, RelationalDatabaseSchema schema, EventDispatcher<P, TableId> dispatcher, Clock clock, SnapshotProgressListener<P> snapshotProgressListener) -
Uses of TableId in io.debezium.relational.ddl
Fields in io.debezium.relational.ddl declared as TableIdModifier and TypeFieldDescriptionprivate final TableId
DdlParserListener.TableAlteredEvent.previousTableId
private final TableId
DdlParserListener.TableEvent.tableId
private final TableId
DdlParserListener.TableIndexEvent.tableId
Methods in io.debezium.relational.ddl that return TableIdModifier and TypeMethodDescriptionDdlParserListener.TableAlteredEvent.previousTableId()
If the table was renamed, then get the old identifier of the table before it was renamed.AbstractDdlParser.resolveTableId
(String schemaName, String tableName) Create aTableId
from the supplied schema and table names.DdlParserListener.TableEvent.tableId()
Get the identifier of the primary table affected by this event.DdlParserListener.TableIndexEvent.tableId()
Get the identifier of the table to which the index applies.Methods in io.debezium.relational.ddl with parameters of type TableIdModifier and TypeMethodDescriptionprotected 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.Constructors in io.debezium.relational.ddl with parameters of type TableIdModifierConstructorDescriptionTableAlteredEvent
(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 TableIdModifier and TypeFieldDescriptionprivate final TableId
TableChanges.TableChange.id
private final TableId
TableChanges.TableChange.previousId
Methods in io.debezium.relational.history that return TableIdModifier and TypeMethodDescriptionTableChanges.TableChange.getId()
TableChanges.TableChange.getPreviousId()
Methods in io.debezium.relational.history with parameters of type TableIdModifier and TypeMethodDescriptionprivate static Table
JsonTableChangeSerializer.fromDocument
(TableId id, Document document) Constructors in io.debezium.relational.history with parameters of type TableIdModifierConstructorDescriptionTableChange
(TableChanges.TableChangeType type, Table table, TableId previousId) -
Uses of TableId in io.debezium.relational.mapping
Fields in io.debezium.relational.mapping with type parameters of type TableIdModifier and TypeFieldDescriptionprotected final BiPredicate<TableId,
Column> ColumnMappers.MapperRule.predicate
Methods in io.debezium.relational.mapping that return TableIdModifier and TypeMethodDescriptionprivate TableId
ColumnMappers.Builder.mappedTableId
(TableId tableId) Methods in io.debezium.relational.mapping with parameters of type TableIdModifier and TypeMethodDescriptionColumnMappers.Builder.fullyQualifiedColumnDatatype
(TableId tableId, Column column) ColumnMappers.Builder.fullyQualifiedColumnName
(TableId tableId, Column column) ColumnMappers.Builder.mappedTableColumnDatatype
(TableId tableId, Column column) ColumnMappers.Builder.mappedTableColumnName
(TableId tableId, Column column) private TableId
ColumnMappers.Builder.mappedTableId
(TableId tableId) Get the value mapping function for the given column.ColumnMappers.mappingConverterFor
(TableId tableId, Column column) Get the value mapping function for the given column.protected boolean
Constructor parameters in io.debezium.relational.mapping with type arguments of type TableIdModifierConstructorDescriptionprotected
MapperRule
(BiPredicate<TableId, Column> predicate, ColumnMapper mapper) -
Uses of TableId in io.debezium.schema
Methods in io.debezium.schema with parameters of type TableIdModifier and TypeMethodDescriptionstatic 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.Method parameters in io.debezium.schema with type arguments of type TableIdModifier and TypeMethodDescriptionvoid
HistorizedDatabaseSchema.SchemaChangeEventConsumer.consume
(SchemaChangeEvent event, Collection<TableId> tableIds) Constructors in io.debezium.schema with parameters of type TableIdModifierConstructorDescriptionprivate
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) private
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)