@FunctionalInterface public interface ColumnMapper
| Modifier and Type | Method and Description |
|---|---|
default void |
alterFieldSchema(Column column,
org.apache.kafka.connect.data.SchemaBuilder schemaBuilder)
Optionally annotate the schema with properties to better capture the mapping behavior.
|
ValueConverter |
create(Column column)
Create for the given column a function that maps values.
|
default void |
initialize(Configuration config)
Initialize the ColumnMapper instance based upon the connector's configuration.
|
default void initialize(Configuration config)
config - the connector's configurationValueConverter create(Column column)
column - the column description; never nulldefault void alterFieldSchema(Column column, org.apache.kafka.connect.data.SchemaBuilder schemaBuilder)
column - the column definition; never nullschemaBuilder - the builder for the Field's schema; never nullCopyright © 2021 JBoss by Red Hat. All rights reserved.