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 Summary

  Modifier and Type
  Method
  Description
  `Key`
  `getKey()`
  Returns the Key part of the KV pair.
  `Value`
  `getValue()`
  Returns the Value part of the KV pair.
  `Version`
  `getVersion()`
  Returns the Version of the KV pair.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`