public interface StateEncoder<K,V,KENCODEDT,VENCODEDT>
Modifier and Type | Method and Description |
---|---|
K |
decodeKey(KENCODEDT encodedKey)
Decode key.
|
V |
decodeValue(VENCODEDT encodedValue)
Decode value.
|
KENCODEDT |
encodeKey(K key)
Encode key.
|
VENCODEDT |
encodeValue(V value)
Encode value.
|
VENCODEDT |
getTombstoneValue()
Get the tombstone value (deletion mark).
|
KENCODEDT encodeKey(K key)
key
- the value of key (K type)VENCODEDT encodeValue(V value)
value
- the value of value (V type)K decodeKey(KENCODEDT encodedKey)
encodedKey
- the value of key (KRAW type)V decodeValue(VENCODEDT encodedValue)
encodedValue
- the value of key (VENCODEDT type)VENCODEDT getTombstoneValue()
Copyright © 2023 The Apache Software Foundation. All rights reserved.