|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Consistency | |
---|---|
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. |
oracle.kv.hadoop | Support for loading Oracle NoSQL Database into Hadoop. |
oracle.kv.lob | The KVLargeObject interface defines the operations used to read and write Large Objects (LOBs) such as audio and video files. |
Uses of Consistency in oracle.kv |
---|
Subclasses of Consistency in oracle.kv | |
---|---|
static class |
Consistency.Time
A consistency policy which describes the amount of time the Replica is allowed to lag the Master. |
static class |
Consistency.Version
A consistency policy which ensures that the environment on a Replica node is at least as current as denoted by the specified Key-Value pair Version . |
Fields in oracle.kv declared as Consistency | |
---|---|
static Consistency |
Consistency.ABSOLUTE
A consistency policy that requires that a transaction be serviced on the Master so that consistency is absolute. |
static Consistency |
Consistency.NONE_REQUIRED
A consistency policy that lets a transaction on a replica using this policy proceed regardless of the state of the Replica relative to the Master. |
Methods in oracle.kv that return Consistency | |
---|---|
static Consistency |
Consistency.fromByteArray(byte[] keyBytes)
Deserializes the given bytes that were returned earlier by toByteArray() and returns the resulting Consistency. |
Consistency |
KVStoreConfig.getConsistency()
Returns the default read Consistency. |
Consistency |
ConsistencyException.getConsistency()
Returns the consistency policy that could not be satisfied. |
Methods in oracle.kv with parameters of type Consistency | |
---|---|
ValueVersion |
KVStore.get(Key key,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Get the value associated with the key. |
SortedMap<Key,ValueVersion> |
KVStore.multiGet(Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Returns the descendant key/value pairs associated with the parentKey . |
Iterator<KeyValueVersion> |
KVStore.multiGetIterator(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
The iterator form of KVStore.multiGet(Key, KeyRange, Depth, Consistency,
long, TimeUnit) . |
SortedSet<Key> |
KVStore.multiGetKeys(Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Returns the descendant keys associated with the parentKey . |
Iterator<Key> |
KVStore.multiGetKeysIterator(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
The iterator form of KVStore.multiGetKeys(Key, KeyRange, Depth,
Consistency, long, TimeUnit) . |
KVStoreConfig |
KVStoreConfig.setConsistency(Consistency consistency)
Configures the default read Consistency to be used when a Consistency is not specified for a particular read operation. |
Iterator<KeyValueVersion> |
KVStore.storeIterator(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Return an Iterator which iterates over all key/value pairs (or the descendants of a parentKey, or those in a KeyRange) in unsorted order. |
Iterator<Key> |
KVStore.storeKeysIterator(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Return an Iterator which iterates over all keys (or the descendants of a parentKey, or those in a KeyRange) in unsorted order. |
Uses of Consistency in oracle.kv.avro |
---|
Methods in oracle.kv.avro with parameters of type Consistency | |
---|---|
void |
AvroCatalog.refreshSchemaCache(Consistency consistency)
Refreshes the cache of stored schemas, adding any new schemas or new versions of schemas to the cache that have been stored via the administration interface since the cache was last refreshed. |
Uses of Consistency in oracle.kv.hadoop |
---|
Methods in oracle.kv.hadoop with parameters of type Consistency | |
---|---|
static void |
KVInputFormatBase.setConsistency(Consistency consistency)
Specifies the read consistency associated with the lookup of the child KV pairs. |
Uses of Consistency in oracle.kv.lob |
---|
Methods in oracle.kv.lob with parameters of type Consistency | |
---|---|
InputStreamVersion |
KVLargeObject.getLOB(Key lobKey,
Consistency consistency,
long lobTimeout,
TimeUnit timeoutUnit)
Returns an InputStream representing the underlying LOB value associated with the key. |
|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |