Package oracle.kv

Class KeyValueVersion

java.lang.Object
oracle.kv.KeyValueVersion

public class KeyValueVersion extends Object
Represents a key/value pair along with its version.

A KeyValueVersion instance is returned by methods such as KVStore.storeIterator(Direction, int) and KVStore.multiGetIterator(Direction, int, Key, KeyRange, Depth). The key, version and value properties will always 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.
    • getVersion

      public Version getVersion()
      Returns the Version of the KV pair.
    • toString

      public String toString()
      Overrides:
      toString in class Object