## Uses of Class
oracle.kv.Value

- Packages that use Value
  Package | Description
  --- | ---
  oracle.kv | This package contains the public API for using Oracle NoSQL Database.
  oracle.kv.avro | Binding classes for serializing and deserializing Values as Avro binary data.

- - ### Uses of Value in oracle.kv

    Fields in oracle.kv declared as Value
    Modifier and Type | Field and Description
    --- | ---
    `static Value` | Value.`EMPTY_VALUE` An instance that represents an empty value for key-only records.

    Methods in oracle.kv that return Value
    Modifier and Type | Method and Description
    --- | ---
    `static 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 by `toByteArray()` and returns the resulting Value.
    `Value` | OperationResult.`getPreviousValue()` For a put or delete operation, the previous value associated with the key.
    `Value` | ValueVersion.`getValue()` Returns the Value part of the KV pair.
    `Value` | KeyValueVersion.`getValue()` Returns the Value part of the KV pair.
    `Value` | ValueBinding.`toValue(T object)` Before doing a write operation, the user calls `toValue` passing an object she wishes to store.

    Methods in oracle.kv with parameters of type Value
    Modifier and Type | Method and Description
    --- | ---
    `Operation` | OperationFactory.`createPut(Key key, Value value)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPut(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPutIfAbsent(Key key, Value value)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPutIfAbsent(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPutIfPresent(Key key, Value value)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPutIfPresent(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPutIfVersion(Key key, Value value, Version version)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Operation` | OperationFactory.`createPutIfVersion(Key key, Value value, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful)` Create a Put operation suitable for use as an argument to the `execute` method.
    `Version` | KVStore.`put(Key key, Value value)` Put a key/value pair, inserting or overwriting as appropriate.
    `Version` | KVStore.`put(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)` Put a key/value pair, inserting or overwriting as appropriate.
    `Version` | KVStore.`putIfAbsent(Key key, Value value)` Put a key/value pair, but only if no value for the given key is present.
    `Version` | 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.
    `Version` | KVStore.`putIfPresent(Key key, Value value)` Put a key/value pair, but only if a value for the given key is present.
    `Version` | 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.
    `Version` | 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.
    `Version` | 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.
    `ValueVersion` | ValueVersion.`setValue(Value value)` Used internally to initialize the Value part of the KV pair.
    `T` | ValueBinding.`toObject(Value value)` After doing a read operation using a `KVStore` method, the user calls `toObject` with the `Value` obtained from the read operation.

    Constructors in oracle.kv with parameters of type Value
    Constructor and Description
    `KeyValueVersion(Key key, Value value, Version version)` Creates a KeyValueVersion with non-null properties.
    `ValueVersion(Value value, Version version)` Used internally to create an object with a value and version.

  - ### Uses of Value in oracle.kv.avro

    Methods in oracle.kv.avro that return Value
    Modifier and Type | Method and Description
    --- | ---
    `Value` | GenericAvroBinding.`toValue(GenericRecord object)` Before doing a write operation, the user calls `toValue` passing an object she wishes to store.
    `Value` | JsonAvroBinding.`toValue(JsonRecord object)` Before doing a write operation, the user calls `toValue` passing an object she wishes to store.
    `Value` | RawAvroBinding.`toValue(RawRecord object)` Before doing a write operation, the user calls `toValue` passing an object she wishes to store.
    `Value` | SpecificAvroBinding.`toValue(T object)` Before doing a write operation, the user calls `toValue` passing an object she wishes to store.
    `Value` | AvroBinding.`toValue(T object)` Before doing a write operation, the user calls `toValue` passing an object she wishes to store.

    Methods in oracle.kv.avro with parameters of type Value
    Modifier and Type | Method and Description
    --- | ---
    `GenericRecord` | GenericAvroBinding.`toObject(Value value)` After doing a read operation using a `KVStore` method, the user calls `toObject` with the `Value` obtained from the read operation.
    `T` | SpecificAvroBinding.`toObject(Value value)` After doing a read operation using a `KVStore` method, the user calls `toObject` with the `Value` obtained from the read operation.
    `RawRecord` | RawAvroBinding.`toObject(Value value)` After doing a read operation using a `KVStore` method, the user calls `toObject` with the `Value` obtained from the read operation.
    `T` | AvroBinding.`toObject(Value value)` After doing a read operation using a `KVStore` method, the user calls `toObject` with the `Value` obtained from the read operation.
    `JsonRecord` | JsonAvroBinding.`toObject(Value value)` After doing a read operation using a `KVStore` method, the user calls `toObject` with the `Value` obtained from the read operation.

Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.