Package io.debezium.relational.mapping
Class ColumnMappers
java.lang.Object
io.debezium.relational.mapping.ColumnMappers
A set of
ColumnMapper
objects for columns.- Author:
- Randall Hauch
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder ofSelectors
.protected static final class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnMappers.Builder
build()
Obtain a newbuilder
for a table selection predicate.static ColumnMappers
create
(RelationalDatabaseConnectorConfig connectorConfig) Builds a newColumnMappers
instance based on the given configuration.protected static ColumnMapper
instantiateMapper
(Class<ColumnMapper> clazz, Configuration config) Get the value mapping function for the given column.mappingConverterFor
(TableId tableId, Column column) Get the value mapping function for the given column.mappingConverterFor
(Table table, Column column) Get the value mapping function for the given column.
-
Field Details
-
rules
-
-
Constructor Details
-
ColumnMappers
-
-
Method Details
-
build
Obtain a newbuilder
for a table selection predicate.- Returns:
- the builder; never null
-
create
Builds a newColumnMappers
instance based on the given configuration. -
mappingConverterFor
Get the value mapping function for the given column.- Parameters:
table
- the table to which the column belongs; may not be nullcolumn
- the column; may not be null- Returns:
- the mapping function, or null if there is no mapping function
-
mappingConverterFor
Get the value mapping function for the given column.- Parameters:
tableId
- the identifier of the table to which the column belongs; may not be nullcolumn
- the column; may not be null- Returns:
- the mapping function, or null if there is no mapping function
-
mapperFor
Get the value mapping function for the given column.- Parameters:
tableId
- the identifier of the table to which the column belongs; may not be nullcolumn
- the column; may not be null- Returns:
- the mapping function, or null if there is no mapping function
-
instantiateMapper
-