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.
|
oracle.kv.query |
This package contains the majority of the public API for using Oracle NoSQL
Database query language.
|
oracle.kv.table |
Table support for Oracle NoSQL Database.
|
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.
|
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.
|
static Consistency |
Consistency.NONE_REQUIRED_NO_MASTER
Deprecated.
as of 4.3, use
NONE_REQUIRED or read zones
instead |
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 |
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).
|
ParallelScanIterator<KeyValueVersion> |
KVStore.storeIterator(Iterator<Key> parentKeyIterator,
int batchSize,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
StoreIteratorConfig storeIteratorConfig)
Returns an Iterator which iterates over all key/value pairs matching the
keys supplied by iterator (or the descendants of a parentKey, or those
in a KeyRange).
|
ParallelScanIterator<KeyValueVersion> |
KVStore.storeIterator(List<Iterator<Key>> parentKeyIterators,
int batchSize,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
StoreIteratorConfig storeIteratorConfig)
Returns an Iterator which iterates over all key/value pairs matching the
keys supplied by iterators (or the descendants of a parentKey, or those
in a KeyRange).
|
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).
|
ParallelScanIterator<Key> |
KVStore.storeKeysIterator(Iterator<Key> parentKeyIterator,
int batchSize,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
StoreIteratorConfig storeIteratorConfig)
Return an Iterator which iterates over all keys matching the keys
supplied by iterator (or the descendants of a parentKey, or those in a
KeyRange).
|
ParallelScanIterator<Key> |
KVStore.storeKeysIterator(List<Iterator<Key>> parentKeyIterators,
int batchSize,
KeyRange subRange,
Depth depth,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
StoreIteratorConfig storeIteratorConfig)
Return an Iterator which iterates over all keys matching the keys
supplied by iterators (or the descendants of a parentKey, or those in a
KeyRange).
|
Modifier and Type | Method and Description |
---|---|
void |
AvroCatalog.refreshSchemaCache(Consistency consistency)
Deprecated.
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.
|
Modifier and Type | Method and Description |
---|---|
Consistency |
ExecuteOptions.getConsistency()
Gets the last set execution consistency.
|
Modifier and Type | Method and Description |
---|---|
ExecuteOptions |
ExecuteOptions.setConsistency(Consistency consistency)
Sets the execution consistency.
|
Modifier and Type | Method and Description |
---|---|
Consistency |
ReadOptions.getConsistency()
Gets the consistency used for a read operation.
|
Constructor and Description |
---|
ReadOptions(Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Creates a
ReadOptions with the specified parameters. |
TableIteratorOptions(Direction direction,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit)
Creates a
TableIteratorOptions with the specified parameters. |
TableIteratorOptions(Direction direction,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
int maxConcurrentRequests,
int batchResultsSize)
Creates a
TableIteratorOptions with the specified parameters. |
TableIteratorOptions(Direction direction,
Consistency consistency,
long timeout,
TimeUnit timeoutUnit,
int maxConcurrentRequests,
int batchResultsSize,
int maxResultsBatches)
Deprecated.
since 3.4, no longer supported.
replaced by
TableIteratorOptions.TableIteratorOptions(Direction, Consistency, long,
TimeUnit, int, int) |
Copyright (c) 2011, 2017 Oracle and/or its affiliates. All rights reserved.