Package oracle.kv
Class KeyValueVersion
- java.lang.Object
-
- oracle.kv.KeyValueVersion
-
public class KeyValueVersion extends java.lang.Object
Represents a key/value pair along with its version.A KeyValueVersion instance is returned by methods such as
KVStore.storeIterator(Direction, int)
andKVStore.multiGetIterator(Direction, int, Key, KeyRange, Depth)
. The key, version and value properties will always be non-null.
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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.java.lang.String
toString()
-
-
-
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.
-
getVersion
public Version getVersion()
Returns the Version of the KV pair.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-