Uses of Interface
io.debezium.relational.mapping.ColumnMapper
-
Uses of ColumnMapper in io.debezium.relational
Modifier and TypeMethodDescriptionprotected void
TableSchemaBuilder.addField
(org.apache.kafka.connect.data.SchemaBuilder builder, Table table, Column column, ColumnMapper mapper) Add to the suppliedSchemaBuilder
a field for the column with the given information. -
Uses of ColumnMapper in io.debezium.relational.mapping
Modifier and TypeClassDescriptionclass
AColumnMapper
implementation that ensures that string values are masked.class
A column mapper that adds thePropagateSourceMetadataToSchemaParameter.COLUMN_NAME_PARAMETER_KEY
,PropagateSourceMetadataToSchemaParameter.TYPE_NAME_PARAMETER_KEY
,PropagateSourceMetadataToSchemaParameter.TYPE_LENGTH_PARAMETER_KEY
,PropagateSourceMetadataToSchemaParameter.TYPE_SCALE_PARAMETER_KEY
andPropagateSourceMetadataToSchemaParameter.COLUMN_COMMENT_PARAMETER_KEY
schema parameter keys.class
AColumnMapper
implementation that ensures that string values longer than a specified length will be truncated.Modifier and TypeMethodDescriptionprotected static ColumnMapper
ColumnMappers.instantiateMapper
(Class<ColumnMapper> clazz, Configuration config) Get the value mapping function for the given column.Modifier and TypeMethodDescriptionColumnMappers.Builder.map
(String fullyQualifiedColumnNames, ColumnMapper mapper) Set a mapping function for the columns with fully-qualified names that match the given comma-separated list of regular expression patterns.ColumnMappers.Builder.mapByDatatype
(String columnDatatypes, ColumnMapper mapper) Modifier and TypeMethodDescriptionprotected static ColumnMapper
ColumnMappers.instantiateMapper
(Class<ColumnMapper> clazz, Configuration config) ColumnMappers.Builder.map
(String fullyQualifiedColumnNames, Class<ColumnMapper> mapperClass) Set a mapping function for the columns with fully-qualified names that match the given comma-separated list of regular expression patterns.ColumnMappers.Builder.map
(String fullyQualifiedColumnNames, Class<ColumnMapper> mapperClass, Configuration config) Set a mapping function for the columns with fully-qualified names that match the given comma-separated list of regular expression patterns.ModifierConstructorDescriptionprotected
MapperRule
(BiPredicate<TableId, Column> predicate, ColumnMapper mapper)