Uses of Class
oracle.kv.Value
Packages that use Value
-
Uses of Value in oracle.kv
Modifier and TypeFieldDescriptionstatic final Value
Value.EMPTY_VALUE
An instance that represents an empty value for key-only records.Modifier and TypeMethodDescriptionstatic Value
Value.createValue
(byte[] val) Creates a Value from a value byte array.static Value
Value.fromByteArray
(byte[] bytes) Deserializes the given bytes that were returned earlier bytoByteArray()
and returns the resulting Value.OperationResult.getPreviousValue()
For a put or delete operation, the previous value associated with the key.KeyValue.getValue()
Returns the Value part of the KV pair.KeyValueVersion.getValue()
Returns the Value part of the KV pair.ValueVersion.getValue()
Returns the Value part of the KV pair.Deprecated.Before doing a write operation, the user callstoValue
passing an object she wishes to store.Modifier and TypeMethodDescriptionCreate a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPut
(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfAbsent
(Key key, Value value) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfAbsent
(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfPresent
(Key key, Value value) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfPresent
(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfVersion
(Key key, Value value, Version version) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfVersion
(Key key, Value value, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.Put a key/value pair, inserting or overwriting as appropriate.KVStore.put
(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, inserting or overwriting as appropriate.KVStore.putIfAbsent
(Key key, Value value) Put a key/value pair, but only if no value for the given key is present.KVStore.putIfAbsent
(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, but only if no value for the given key is present.KVStore.putIfPresent
(Key key, Value value) Put a key/value pair, but only if a value for the given key is present.KVStore.putIfPresent
(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, but only if a value for the given key is present.KVStore.putIfVersion
(Key key, Value value, Version matchVersion) Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.KVStore.putIfVersion
(Key key, Value value, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.Used internally to initialize the Value part of the KV pair.