|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.kv.ValueVersion
public class ValueVersion
Holds a Value and Version that are associated with a given Key.
A ValueVersion instance is returned by methods such as get and multiGet as the current value and version
associated with a given key. The version and value properties will always
be non-null.
| Constructor Summary | |
|---|---|
ValueVersion()
Used internally to create an object with null value and version. |
|
ValueVersion(Value value,
Version version)
Used internally to create an object with a value and version. |
|
| Method Summary | |
|---|---|
Value |
getValue()
Returns the Value part of the KV pair. |
Version |
getVersion()
Returns the Version of the KV pair. |
ValueVersion |
setValue(Value value)
Used internally to initialize the Value part of the KV pair. |
ValueVersion |
setVersion(Version version)
Used internally to initialize 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 |
| Constructor Detail |
|---|
public ValueVersion()
public ValueVersion(Value value,
Version version)
| Method Detail |
|---|
public Value getValue()
public Version getVersion()
public ValueVersion setValue(Value value)
public ValueVersion setVersion(Version version)
public String toString()
toString in class Object
|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||