Package oracle.kv

Class KeyValue

java.lang.Object
oracle.kv.KeyValue

public class KeyValue extends Object
Represents a key/value pair.

The KeyValue is used as element of input argument EntryStream<KeyValue> for put, the key and value properties will always be non-null.

Since:
4.0
  • Constructor Details

    • KeyValue

      public KeyValue(Key key, Value value)
      Creates a KeyValue, key and value should be non-null.
  • Method Details

    • getKey

      public Key getKey()
      Returns the Key part of the KV pair.
    • getValue

      public Value getValue()
      Returns the Value part of the KV pair.
    • toString

      public String toString()
      Overrides:
      toString in class Object