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 neededMethods 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 StringJdbcConnection. buildSelectWithRowLimits(TableId tableId, int limit, String projection, Optional<String> condition, String orderBy)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 aColumnEditorrepresenting 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 voidSnapshotChangeEventSourceMetrics. 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 voidSnapshotProgressListener. 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 TableIdChangeTable. changeTableIdprivate TableIdNoOpTableEditorImpl. idprivate TableIdTableEditorImpl. idprivate TableIdTableImpl. idprivate TableIdTableSchema. idprivate TableIdChangeTable. sourceTableIdprivate TableIdColumnId. tableIdFields in io.debezium.relational with type parameters of type TableId Modifier and Type Field Description Set<TableId>RelationalSnapshotChangeEventSource.RelationalSnapshotContext. capturedSchemaTablesSet<TableId>RelationalSnapshotChangeEventSource.RelationalSnapshotContext. capturedTablesprotected EventDispatcher<TableId>RelationalSnapshotChangeEventSource. dispatcherprivate Predicate<TableId>Selectors.TableSelectionPredicateBuilder. tableExclusionsprivate Predicate<TableId>Selectors.TableSelectionPredicateBuilder. tableInclusionsprivate TopicSelector<TableId>RelationalDatabaseSchema. topicSelectorprivate ConcurrentMap<TableId,TableSchema>RelationalDatabaseSchema.SchemasByTableId. valuesprivate Set<TableId>Tables.TableIds. valuesprivate ConcurrentMap<TableId,Table>Tables.TablesById. valuesMethods in io.debezium.relational that return TableId Modifier and Type Method Description TableIdChangeTable. getChangeTableId()TableIdChangeTable. getSourceTableId()abstract TableIdColumnFilterMode. getTableIdForFilter(String catalog, String schema, String table)TableIdTable. id()Get the identifier for this table.TableIdTableImpl. id()TableIdTableSchema. id()static TableIdTableId. parse(String str)Parse the supplied string, extracting up to the first 3 parts into a TableID.protected static TableIdTableId. parse(String[] parts, int numParts, boolean useCatalogBeforeSchema)Parse the supplied string, extracting up to the first 3 parts into a TableID.static TableIdTableId. parse(String str, boolean useCatalogBeforeSchema)Parse the supplied string, extracting up to the first 3 parts into a TableID.TableIdColumnId. tableId()Get the identifier for the table that owns this column.TableIdNoOpTableEditorImpl. tableId()TableIdTableEditor. tableId()Get the identifier for this table.TableIdTableEditorImpl. tableId()TableIdTableId. toDoubleQuoted()Returns a newTableIdwith all parts of the identifier using"character.TableIdTableId. toLowercase()private TableIdRelationalDatabaseSchema.SchemasByTableId. toLowerCaseIfNeeded(TableId tableId)private TableIdTables.TableIds. toLowerCaseIfNeeded(TableId tableId)private TableIdTables.TablesById. toLowerCaseIfNeeded(TableId tableId)TableIdTableId. toQuoted(char quotingChar)Returns a newTableIdthat 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 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 ofTableIds 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 voidTables.TableIds. add(TableId tableId)private static StringColumnId. columnId(TableId tableId, String columnName)intTableId. compareTo(TableId that)intTableId. 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 StructGeneratorTableSchemaBuilder. 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 ValueConverterTableSchemaBuilder. createValueConverterFor(TableId tableId, Column column, org.apache.kafka.connect.data.Field fieldDefn)Create aValueConverterthat can be used to convert row values for the given column into the Kafka Connect value object described by thefield definition.protected StructGeneratorTableSchemaBuilder. 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 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.TableEditorTables. editOrCreateTable(TableId tableId)Obtain an editor for the table with the given ID.TableEditorTables. editTable(TableId tableId)Obtain an editor for the table with the given ID.protected StringRelationalSnapshotChangeEventSource. enhanceOverriddenSelect(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext, String overriddenSelect, TableId tableId)This method is overridden for Oracle to implement "as of SCN" predicateTableTables. forTable(TableId tableId)Obtain the definition of the identified table.private StringCustomConverterRegistry. fullColumnName(TableId table, Column column)TableSchemaRelationalDatabaseSchema.SchemasByTableId. get(TableId tableId)TableTables.TablesById. get(TableId tableId)protected ChangeRecordEmitterRelationalSnapshotChangeEventSource. getChangeRecordEmitter(AbstractSnapshotChangeEventSource.SnapshotContext snapshotContext, TableId tableId, Object[] row)Returns aChangeRecordEmitterproducing the change records for the given table row.protected abstract Optional<String>RelationalSnapshotChangeEventSource. getSnapshotSelect(RelationalSnapshotChangeEventSource.RelationalSnapshotContext snapshotContext, TableId tableId)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.booleanTables.TableFilter. isIncluded(TableId tableId)Determines whether the given table should be included in the currentDatabaseSchema.static TableEditorTableEditor. noOp(TableId id)Create a new editor that does nothing.TableTables. overwriteTable(TableId tableId, List<Column> columnDefs, List<String> primaryKeyColumnNames, String defaultCharsetName)Add or update the definition for the identified table.TableSchemaRelationalDatabaseSchema.SchemasByTableId. put(TableId tableId, TableSchema updated)TableTables.TablesById. put(TableId tableId, Table updated)protected voidRelationalDatabaseSchema. 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.TableSchemaRelationalDatabaseSchema.SchemasByTableId. remove(TableId tableId)TableTables.TablesById. remove(TableId tableId)protected voidRelationalDatabaseSchema. removeSchema(TableId id)TableTables. removeTable(TableId tableId)Remove the definition of the identified table.TableTables. renameTable(TableId existingTableId, TableId newTableId)Rename an existing table.protected OptionalLongRelationalSnapshotChangeEventSource. rowCountForTable(TableId tableId)If connector is able to provide statistics-based number of records per table.TableSchemaRelationalDatabaseSchema. schemaFor(TableId id)Get theSchema informationfor the table with the given identifier, if that table exists and is included by the filter configuration.TableRelationalDatabaseSchema. tableFor(TableId id)Get theTablemeta-data for the table with the given identifier, if that table exists and is included by the filter configurationTableEditorNoOpTableEditorImpl. tableId(TableId id)TableEditorTableEditor. tableId(TableId tableId)Set the table identifier.TableEditorTableEditorImpl. tableId(TableId id)private StringTableSchemaBuilder. tableSchemaName(TableId tableId)Returns the type schema name for the given table.private TableIdRelationalDatabaseSchema.SchemasByTableId. toLowerCaseIfNeeded(TableId tableId)private TableIdTables.TableIds. toLowerCaseIfNeeded(TableId tableId)private TableIdTables.TablesById. toLowerCaseIfNeeded(TableId tableId)StringSelectors.TableIdToStringMapper. toString(TableId tableId)TableTables. updateTable(TableId tableId, Function<Table,Table> changer)Add or update the definition for the identified table.private ValueConverterTableSchemaBuilder. 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) voidTables.TablesById. forEach(BiConsumer<? super TableId,? super Table> action)static Tables.TableFilterTables.TableFilter. fromPredicate(Predicate<TableId> predicate)Creates aTables.TableFilterfrom 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 specifiedSchemas for the keys and values, and the functions that generate the key and value for a given row of data. -
Uses of TableId in io.debezium.relational.ddl
Fields in io.debezium.relational.ddl declared as TableId Modifier and Type Field Description private TableIdDdlParserListener.TableAlteredEvent. previousTableIdprivate TableIdDdlParserListener.TableEvent. tableIdprivate TableIdDdlParserListener.TableIndexEvent. tableIdMethods in io.debezium.relational.ddl that return TableId Modifier and Type Method Description TableIdDdlParserListener.TableAlteredEvent. previousTableId()If the table was renamed, then get the old identifier of the table before it was renamed.TableIdAbstractDdlParser. resolveTableId(String schemaName, String tableName)Create aTableIdfrom the supplied schema and table names.TableIdDdlParserListener.TableEvent. tableId()Get the identifier of the primary table affected by this event.TableIdDdlParserListener.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 voidAbstractDdlParser. signalAlterTable(TableId id, TableId previousId, String statement)Signal an alter table event to ddl changes listener.protected voidAbstractDdlParser. signalAlterView(TableId id, TableId previousId, String statement)Signal an alter view event to ddl changes listener.protected voidAbstractDdlParser. signalCreateIndex(String indexName, TableId id, String statement)Signal a create index event to ddl changes listener.protected voidAbstractDdlParser. signalCreateTable(TableId id, String statement)Signal a create table event to ddl changes listener.protected voidAbstractDdlParser. signalCreateView(TableId id, String statement)Signal a create view event to ddl changes listener.protected voidAbstractDdlParser. signalDropIndex(String indexName, TableId id, String statement)Signal a drop index event to ddl changes listener.protected voidAbstractDdlParser. signalDropTable(TableId id, String statement)Signal a drop table event to ddl changes listener.protected voidAbstractDdlParser. signalDropView(TableId id, String statement)Signal a drop view event to ddl changes listener.protected voidAbstractDdlParser. 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 voidDdlChanges. addTable(Set<TableId> tables, DdlParserListener.Event event)voidDdlChanges.DatabaseStatementConsumer. consume(String databaseName, Set<TableId> tableList, List<String> ddlStatements)voidDdlChanges.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 TableIdTableChanges.TableChange. idMethods in io.debezium.relational.history that return TableId Modifier and Type Method Description TableIdTableChanges.TableChange. getId()Methods in io.debezium.relational.history with parameters of type TableId Modifier and Type Method Description private static TableJsonTableChangeSerializer. 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. predicateMethods in io.debezium.relational.mapping that return TableId Modifier and Type Method Description private TableIdColumnMappers.Builder. mappedTableId(TableId tableId)Methods in io.debezium.relational.mapping with parameters of type TableId Modifier and Type Method Description StringColumnMappers.Builder. fullyQualifiedColumnDatatype(TableId tableId, Column column)StringColumnMappers.Builder. fullyQualifiedColumnName(TableId tableId, Column column)StringColumnMappers.Builder. mappedTableColumnDatatype(TableId tableId, Column column)StringColumnMappers.Builder. mappedTableColumnName(TableId tableId, Column column)private TableIdColumnMappers.Builder. mappedTableId(TableId tableId)ColumnMapperColumnMappers. mapperFor(TableId tableId, Column column)Get the value mapping function for the given column.ValueConverterColumnMappers. mappingConverterFor(TableId tableId, Column column)Get the value mapping function for the given column.protected booleanColumnMappers.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 voidHistorizedDatabaseSchema.SchemaChangeEventConsumer. consume(SchemaChangeEvent event, Collection<TableId> tableIds)
-