Package co.decodable.sdk.pipeline
Class DecodableAppendStreamRecord<K,V>
java.lang.Object
co.decodable.sdk.pipeline.DecodableAppendStreamRecord<K,V>
- Type Parameters:
K
- The key data type of this recordV
- The value data type of this record
- All Implemented Interfaces:
DecodableKeyedStreamRecord<K,
V>
public abstract class DecodableAppendStreamRecord<K,V>
extends Object
implements DecodableKeyedStreamRecord<K,V>
Abstract base class to represent one record as a key-value pair in a Decodable append stream.
-
Field Summary
Fields inherited from interface co.decodable.sdk.pipeline.DecodableKeyedStreamRecord
DEFAULT_KEY_FIELD_NAME, DEFAULT_VALUE_FIELD_NAME
-
Constructor Summary
ConstructorsConstructorDescriptionDecodableAppendStreamRecord
(K key, V value) DecodableAppendStreamRecord
(V value) -
Method Summary
-
Constructor Details
-
DecodableAppendStreamRecord
public DecodableAppendStreamRecord() -
DecodableAppendStreamRecord
-
DecodableAppendStreamRecord
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceDecodableKeyedStreamRecord<K,
V>
-
setKey
-
getValue
- Specified by:
getValue
in interfaceDecodableKeyedStreamRecord<K,
V>
-
setValue
-
toString
-
equals
-
hashCode
public int hashCode()
-