Package oracle.kv

Class 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 Detail

      • KeyValue

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

      • getKey

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

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