Package io.debezium.relational.mapping
Class TruncateStrings.TruncatingValueConverter
java.lang.Object
io.debezium.relational.mapping.TruncateStrings.TruncatingValueConverter
- All Implemented Interfaces:
ValueConverter
- Enclosing class:
- TruncateStrings
@Immutable
protected static final class TruncateStrings.TruncatingValueConverter
extends Object
implements ValueConverter
-
Field Details
-
maxLength
protected final int maxLength
-
-
Constructor Details
-
TruncatingValueConverter
public TruncatingValueConverter(int maxLength)
-
-
Method Details
-
convert
Description copied from interface:ValueConverter
Convert the column's data value.- Specified by:
convert
in interfaceValueConverter
- Parameters:
value
- the column data value- Returns:
- the new data value
-