Uses of Class
oracle.kv.Consistency
Package
Description
This package contains the public API for using Oracle NoSQL Database.
Support for loading Oracle NoSQL Database into Hadoop.
Support for executing Hive queries against data written to an Oracle NoSQL Database via the Table API.
Support for running MapReduce jobs against data written to an Oracle NoSQL Database via the Table API.
The KVLargeObject interface defines the operations used to read and write
Large Objects (LOBs) such as audio and video files.
This package contains the majority of the public API for using Oracle NoSQL
Database query language.
Table support for Oracle NoSQL Database.
-
Uses of Consistency in oracle.kv
Modifier and TypeClassDescriptionstatic class
A consistency policy which describes the amount of time the Replica is allowed to lag the Master.static class
A consistency policy which ensures that the environment on a Replica node is at least as current as denoted by the specified Key-Value pairConsistency.Version
.Modifier and TypeFieldDescriptionstatic final Consistency
Consistency.ABSOLUTE
A consistency policy that requires that a transaction be serviced on the Master so that consistency is absolute.static final 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 final Consistency
Consistency.NONE_REQUIRED_NO_MASTER
Deprecated.Modifier and TypeMethodDescriptionstatic Consistency
Consistency.fromByteArray
(byte[] keyBytes) Deserializes the given bytes that were returned earlier bytoByteArray()
and returns the resulting Consistency.ConsistencyException.getConsistency()
Returns the consistency policy that could not be satisfied.KVStoreConfig.getConsistency()
Returns the default read Consistency.Modifier and TypeMethodDescriptionKVStore.get
(Key key, Consistency consistency, long timeout, TimeUnit timeoutUnit) Get the value associated with the key.KVStore.multiGet
(Key parentKey, KeyRange subRange, Depth depth, Consistency consistency, long timeout, TimeUnit timeoutUnit) Returns the descendant key/value pairs associated with theparentKey
.KVStore.multiGetIterator
(Direction direction, int batchSize, Key parentKey, KeyRange subRange, Depth depth, Consistency consistency, long timeout, TimeUnit timeoutUnit) The iterator form ofKVStore.multiGet(Key, KeyRange, Depth, Consistency, long, TimeUnit)
.KVStore.multiGetKeys
(Key parentKey, KeyRange subRange, Depth depth, Consistency consistency, long timeout, TimeUnit timeoutUnit) Returns the descendant keys associated with theparentKey
.KVStore.multiGetKeysIterator
(Direction direction, int batchSize, Key parentKey, KeyRange subRange, Depth depth, Consistency consistency, long timeout, TimeUnit timeoutUnit) The iterator form ofKVStore.multiGetKeys(Key, KeyRange, Depth, Consistency, long, TimeUnit)
.void
ConsistencyException.setConsistency
(Consistency consistency) Sets the consistency policy.KVStoreConfig.setConsistency
(Consistency consistency) Configures the default read Consistency to be used when a Consistency is not specified for a particular read operation.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).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).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.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).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).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).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.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). -
Uses of Consistency in oracle.kv.hadoop
Modifier and TypeMethodDescriptionstatic void
KVInputFormatBase.setConsistency
(Consistency consistency) Specifies the read consistency associated with the lookup of the child KV pairs. -
Uses of Consistency in oracle.kv.hadoop.hive.table
-
Uses of Consistency in oracle.kv.hadoop.table
Modifier and TypeMethodDescriptionstatic void
TableInputFormatBase.setConsistency
(Consistency consistency) Specifies the read consistency associated with the lookup of the child KV pairs. -
Uses of Consistency in oracle.kv.lob
Modifier and TypeMethodDescriptionKVLargeObject.getLOB
(Key lobKey, Consistency consistency, long lobTimeout, TimeUnit timeoutUnit) Returns an InputStream representing the underlying LOB value associated with the key. -
Uses of Consistency in oracle.kv.query
Modifier and TypeMethodDescriptionExecuteOptions.getConsistency()
Gets the last set execution consistency.Modifier and TypeMethodDescriptionExecuteOptions.setConsistency
(Consistency consistency) Sets the execution consistency. -
Uses of Consistency in oracle.kv.table
Modifier and TypeMethodDescriptionReadOptions.getConsistency()
Gets the consistency used for a read operation.ModifierConstructorDescriptionReadOptions
(Consistency consistency, long timeout, TimeUnit timeoutUnit) Creates aReadOptions
with the specified parameters.TableIteratorOptions
(Direction direction, Consistency consistency, long timeout, TimeUnit timeoutUnit) Creates aTableIteratorOptions
with the specified parameters.TableIteratorOptions
(Direction direction, Consistency consistency, long timeout, TimeUnit timeoutUnit, int maxConcurrentRequests, int batchResultsSize) Creates aTableIteratorOptions
with the specified parameters, includingmaxConcurrentRequests
andbatchResultsSize
values.TableIteratorOptions
(Direction direction, Consistency consistency, long timeout, TimeUnit timeoutUnit, int maxConcurrentRequests, int batchResultsSize, int maxResultsBatches) Deprecated.since 3.4, no longer supported.
NONE_REQUIRED
or read zones instead