Package io.debezium.spi.converter
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 ClassesModifier and TypeInterfaceDescriptionstatic interfaceA conversion converting data from one type to another.static interfaceCallback for registering a converter. -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Properties props) voidconverterFor(F field, CustomConverter.ConverterRegistration<S> registration) Allows to register a custom value and schema converter for a given field-
-
Method Details
-
configure
-
converterFor
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.
-