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
Nested ClassesModifier and TypeClassDescriptionstatic classA builder ofSelectors.protected static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnMappers.Builderbuild()Obtain a newbuilderfor a table selection predicate.static ColumnMapperscreate(RelationalDatabaseConnectorConfig connectorConfig) Builds a newColumnMappersinstance based on the given configuration.protected static ColumnMapperinstantiateMapper(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 newbuilderfor a table selection predicate.- Returns:
- the builder; never null
-
create
Builds a newColumnMappersinstance 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
-