Class KeyedStreamRecord<K,V>

java.lang.Object
co.decodable.sdk.pipeline.testing.KeyedStreamRecord<K,V>
Type Parameters:
K - The key data type of this record
V - The value data type of this record

public class KeyedStreamRecord<K,V> extends Object
Represents one element on a keyed Decodable stream.
  • Constructor Details

    • KeyedStreamRecord

      public KeyedStreamRecord(K key, V value)
      Creates a new stream record with the given value.
  • Method Details

    • key

      public K key()
      Returns the key of this keyed stream record.
    • value

      public V value()
      Returns the value of this keyed stream record.