Uses of Class
oracle.kv.Consistency
Packages that use Consistency
Package
Description
This package contains the public API for using Oracle NoSQL Database.
Support for loading Oracle NoSQL Database into Hadoop.
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
Subclasses of Consistency in oracle.kvModifier and TypeClassDescriptionstatic classstatic classA consistency policy which describes the amount of time the Replica is allowed to lag the Master.static classA 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.Fields in oracle.kv declared as ConsistencyModifier and TypeFieldDescriptionstatic final ConsistencyConsistency.ABSOLUTEA consistency policy that requires that a transaction be serviced on the Master so that consistency is absolute.static final ConsistencyConsistency.NONE_REQUIREDA 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 ConsistencyConsistency.NONE_REQUIRED_NO_MASTERDeprecated.Methods in oracle.kv that return ConsistencyModifier and TypeMethodDescriptionstatic ConsistencyConsistency.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.Methods in oracle.kv with parameters of type ConsistencyModifier 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).voidConsistencyException.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
Methods in oracle.kv.hadoop with parameters of type ConsistencyModifier and TypeMethodDescriptionstatic voidKVInputFormatBase.setConsistency(Consistency consistency) Specifies the read consistency associated with the lookup of the child KV pairs. -
Uses of Consistency in oracle.kv.hadoop.table
Methods in oracle.kv.hadoop.table with parameters of type ConsistencyModifier and TypeMethodDescriptionstatic voidTableInputFormatBase.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 ConsistencyModifier 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
Methods in oracle.kv.query that return ConsistencyModifier and TypeMethodDescriptionExecuteOptions.getConsistency()Gets the last set execution consistency.Methods in oracle.kv.query with parameters of type ConsistencyModifier and TypeMethodDescriptionExecuteOptions.setConsistency(Consistency consistency) Sets the execution consistency. -
Uses of Consistency in oracle.kv.table
Methods in oracle.kv.table that return ConsistencyModifier and TypeMethodDescriptionReadOptions.getConsistency()Gets the consistency used for a read operation.Constructors in oracle.kv.table with parameters of type ConsistencyModifierConstructorDescriptionReadOptions(Consistency consistency, long timeout, TimeUnit timeoutUnit) Creates aReadOptionswith the specified parameters.TableIteratorOptions(Direction direction, Consistency consistency, long timeout, TimeUnit timeoutUnit) Creates aTableIteratorOptionswith the specified parameters.TableIteratorOptions(Direction direction, Consistency consistency, long timeout, TimeUnit timeoutUnit, int maxConcurrentRequests, int batchResultsSize) Creates aTableIteratorOptionswith the specified parameters, includingmaxConcurrentRequestsandbatchResultsSizevalues.TableIteratorOptions(Direction direction, Consistency consistency, long timeout, TimeUnit timeoutUnit, int maxConcurrentRequests, int batchResultsSize, int maxResultsBatches) Deprecated.since 3.4, no longer supported.
NONE_REQUIREDor read zones instead