| Package | Description |
|---|---|
| io.debezium.jdbc | |
| io.debezium.relational | |
| io.debezium.relational.mapping |
| Modifier and Type | Method and Description |
|---|---|
protected ValueConverter |
JdbcValueConverters.convertBits(Column column,
org.apache.kafka.connect.data.Field fieldDefn) |
ValueConverter |
JdbcValueConverters.converter(Column column,
org.apache.kafka.connect.data.Field fieldDefn) |
| Modifier and Type | Method and Description |
|---|---|
default ValueConverter |
ValueConverter.and(ValueConverter delegate)
Return a new converter that calls this converter and passes the result to the specified converter.
|
ValueConverter |
ValueConverterProvider.converter(Column columnDefinition,
org.apache.kafka.connect.data.Field fieldDefn)
Returns a
ValueConverter that can be used to convert the JDBC values corresponding to the given JDBC temporal type
into literal values described by the schema. |
protected ValueConverter[] |
TableSchemaBuilder.convertersForColumns(org.apache.kafka.connect.data.Schema schema,
TableId tableId,
List<Column> columns,
Predicate<ColumnId> filter,
ColumnMappers mappers)
Obtain the array of converters for each column in a row.
|
protected ValueConverter |
TableSchemaBuilder.createValueConverterFor(Column column,
org.apache.kafka.connect.data.Field fieldDefn)
Create a
ValueConverter that can be used to convert row values for the given column into the Kafka Connect value
object described by the field definition. |
default ValueConverter |
ValueConverter.nullOr()
Return a new converter that will call this converter only when the input is not
null. |
default ValueConverter |
ValueConverter.or(ValueConverter fallback)
Adapt this converter to call the specified fallback converter when this converter returns
null for
a non-null input. |
static ValueConverter |
ValueConverter.passthrough()
Obtain a
ValueConverter that passes through values. |
private ValueConverter |
TableSchemaBuilder.wrapInMappingConverterIfNeeded(ColumnMappers mappers,
TableId tableId,
Column column,
ValueConverter converter) |
| Modifier and Type | Method and Description |
|---|---|
default ValueConverter |
ValueConverter.and(ValueConverter delegate)
Return a new converter that calls this converter and passes the result to the specified converter.
|
default ValueConverter |
ValueConverter.or(ValueConverter fallback)
Adapt this converter to call the specified fallback converter when this converter returns
null for
a non-null input. |
private ValueConverter |
TableSchemaBuilder.wrapInMappingConverterIfNeeded(ColumnMappers mappers,
TableId tableId,
Column column,
ValueConverter converter) |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MaskStrings.MaskingValueConverter |
protected static class |
TruncateStrings.TruncatingValueConverter |
| Modifier and Type | Method and Description |
|---|---|
ValueConverter |
ColumnMapper.create(Column column)
Create for the given column a function that maps values.
|
ValueConverter |
PropagateSourceTypeToSchemaParameter.create(Column column) |
ValueConverter |
TruncateStrings.create(Column column) |
ValueConverter |
MaskStrings.create(Column column) |
ValueConverter |
ColumnMappers.mappingConverterFor(Table table,
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.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.