Interface KeyValue.KeyValueDecoder<K,​V>

  • Enclosing class:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

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

      • decode

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