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.
|
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.
|
Modifier and Type | Class and Description |
---|---|
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 . |
Modifier and Type | Field and Description |
---|---|
static Consistency |
Consistency.ABSOLUTE
A consistency policy that requires that a transaction be serviced on the
Master so that consistency is absolute.
|
protected Consistency |
SelectionParams.consistency |
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.
|
Modifier and Type | Method and Description |
---|---|
static Consistency |
Consistency.fromByteArray(byte[] keyBytes)
Deserializes the given bytes that were returned earlier by
toByteArray() and returns the resulting Consistency. |
Consistency |
SelectionParams.getConsistency() |
Consistency |
KVStoreConfig.getConsistency()
Returns the default read Consistency.
|
Consistency |
ConsistencyException.getConsistency()
Returns the consistency policy that could not be satisfied.
|
Modifier and Type | Method and Description |
---|---|
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.
|
ParallelScanIterator<KeyValueVersion> |
KVStore.storeIterator(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
StoreIteratorConfig storeIteratorConfig)
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.
|
ParallelScanIterator<Key> |
KVStore.storeKeysIterator(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
StoreIteratorConfig storeIteratorConfig)
Return an Iterator which iterates over all keys (or the descendants of a
parentKey, or those in a KeyRange) in unsorted order.
|
Constructor and Description |
---|
SelectionParams(Direction direction,
int batchSize,
Key parentKey,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
KVInputFormatBase.setConsistency(Consistency consistency)
Specifies the read consistency associated with the lookup of the child
KV pairs.
|
Modifier and Type | Method and Description |
---|---|
InputStreamVersion |
KVLargeObject.getLOB(Key lobKey,
Consistency consistency,
long lobTimeout,
TimeUnit timeoutUnit)
Returns an InputStream representing the underlying LOB value associated
with the key.
|
Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.