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.
|
Modifier and Type | Field and Description |
---|---|
static Value |
Value.EMPTY_VALUE
An instance that represents an empty value for key-only records.
|
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. |
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)
|
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.
|
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. |
Modifier and Type | Method and Description |
---|---|
T |
SpecificAvroBinding.toObject(Value value)
|
RawRecord |
RawAvroBinding.toObject(Value value)
|
JsonRecord |
JsonAvroBinding.toObject(Value value)
|
GenericRecord |
GenericAvroBinding.toObject(Value value)
|
T |
AvroBinding.toObject(Value value)
|
Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.