Interface KeyValue.KeyValueDecoder<K,V>

Enclosing class:
KeyValue<K,V>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface KeyValue.KeyValueDecoder<K,V>
Decoder to decode key/value bytes.
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(byte[] keyData, byte[] valueData)
    Decode key and value bytes into a KeyValue pair.
  • Method Details

    • decode

      KeyValue<K,V> decode(byte[] keyData, byte[] valueData)
      Decode key and value bytes into a KeyValue pair.
      Parameters:
      keyData - key data
      valueData - value data
      Returns:
      the decoded KeyValue pair