接口 KeyValue.KeyValueDecoder<K,V>

封闭类:
KeyValue<K,V>
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public static interface KeyValue.KeyValueDecoder<K,V>
Decoder to decode key/value bytes.
  • 方法概要

    修饰符和类型
    方法
    说明
    decode(byte[] keyData, byte[] valueData)
    Decode key and value bytes into a KeyValue pair.
  • 方法详细资料

    • 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