Package io.debezium.spi.converter
Interface CustomConverter<S,F extends ConvertedField>
-
@Incubating public interface CustomConverter<S,F extends ConvertedField>
An interface that allows the user to customize how a value will be converted for a given field.- Author:
- Jiri Pechanec
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCustomConverter.ConverterA conversion converting data from one type to another.static interfaceCustomConverter.ConverterRegistration<S>Callback for registering a converter.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(Properties props)voidconverterFor(F field, CustomConverter.ConverterRegistration<S> registration)Allows to register a custom value and schema converter for a given field-
-
-
-
Method Detail
-
configure
void configure(Properties props)
-
converterFor
void converterFor(F field, CustomConverter.ConverterRegistration<S> registration)
Allows to register a custom value and schema converter for a given field-- Parameters:
field- the field of interestregistration- a callback that allows to register a schema and value converter for the given field.
-
-