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

      public Object convert(Object value)
      Description copied from interface: ValueConverter
      Convert the column's data value.
      Specified by:
      convert in interface ValueConverter
      Parameters:
      value - the column data value
      Returns:
      the new data value