Interface KeyValueCodec

All Known Implementing Classes:
DingoKeyValueCodec

public interface KeyValueCodec
  • Method Details

    • decode

      Object[] decode(KeyValue keyValue)
    • decodeKeyPrefix

      Object[] decodeKeyPrefix(byte[] keyPrefix)
    • encode

      KeyValue encode(Object @NonNull [] record)
    • encodeKey

      byte[] encodeKey(Object[] record)
    • encodeKeyPrefix

      default byte[] encodeKeyPrefix(Object[] record)
    • encodeKeyPrefix

      byte[] encodeKeyPrefix(Object[] record, int columnCount)
    • encodeMinKeyPrefix

      byte[] encodeMinKeyPrefix()
    • encodeMaxKeyPrefix

      byte[] encodeMaxKeyPrefix()
    • resetPrefix

      byte[] resetPrefix(byte[] key, long prefix)