Uses of Class
oracle.kv.Key
Packages that use Key
Package
Description
This package contains the public API for using Oracle NoSQL Database.
This package contains the public API for integration of Oracle NoSQL
Database with Oracle Coherence.
Support for loading Oracle NoSQL Database into Hadoop.
The KVLargeObject interface defines the operations used to read and write
Large Objects (LOBs) such as audio and video files.
-
Uses of Key in oracle.kv
Modifier and TypeMethodDescriptionstatic Key
Creates a Key from a single component Major Path; the Minor Path will be empty.static Key
Creates a Key from a single component Major Path and a single component Minor Path.static Key
Creates a Key from a single component Major Path and a Minor Path list.static Key
Creates a Key from a Major Path list; the Minor Path will be empty.static Key
Creates a Key from a Major Path list and a single component Minor Path.static Key
Creates a Key from a Major Path list and a Minor Path list.static Key
Key.fromByteArray
(byte[] keyBytes) Deserializes the given bytes that were returned earlier bytoByteArray()
and returns the resulting Key.static Key
Key.fromString
(String pathString) Decodes a key path string and returns the resulting Key object.KeyValue.getKey()
Returns the Key part of the KV pair.KeyValueVersion.getKey()
Returns the Key part of the KV pair.Operation.getKey()
Returns the Key associated with the operation.StoreIteratorException.getKey()
Returns the key which was used to retrieve the current batch of records in the iteration.Modifier and TypeMethodDescriptionReturns the descendant key/value pairs associated with theparentKey
.KVStore.multiGet
(Key parentKey, KeyRange subRange, Depth depth, Consistency consistency, long timeout, TimeUnit timeoutUnit) Returns the descendant key/value pairs associated with theparentKey
.KVStore.multiGetKeys
(Key parentKey, KeyRange subRange, Depth depth) Returns the descendant keys associated with theparentKey
.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) The iterator form ofKVStore.multiGetKeys(Key, KeyRange, Depth)
.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)
.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) Return an Iterator which iterates over all keys in unsorted order.KVStore.storeKeysIterator
(Direction direction, int batchSize, Key parentKey, KeyRange subRange, Depth depth) 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) 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).Modifier and TypeMethodDescriptionint
Compares this Key with the specified Key for order.OperationFactory.createDelete
(Key key) Create a Delete operation suitable for use as an argument to theexecute
method.OperationFactory.createDelete
(Key key, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Delete operation suitable for use as an argument to theexecute
method.OperationFactory.createDeleteIfVersion
(Key key, Version version) Create a Delete operation suitable for use as an argument to theexecute
method.OperationFactory.createDeleteIfVersion
(Key key, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Delete operation suitable for use as an argument to theexecute
method.Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPut
(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfAbsent
(Key key, Value value) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfAbsent
(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfPresent
(Key key, Value value) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfPresent
(Key key, Value value, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfVersion
(Key key, Value value, Version version) Create a Put operation suitable for use as an argument to theexecute
method.OperationFactory.createPutIfVersion
(Key key, Value value, Version version, ReturnValueVersion.Choice prevReturn, boolean abortIfUnsuccessful) Create a Put operation suitable for use as an argument to theexecute
method.boolean
Delete the key/value pair associated with the key.boolean
KVStore.delete
(Key key, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Delete the key/value pair associated with the key.boolean
KVStore.deleteIfVersion
(Key key, Version matchVersion) Delete a key/value pair, but only if the version of the existing value matches the matchVersion argument.boolean
KVStore.deleteIfVersion
(Key key, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Delete a key/value pair, but only if the version of the existing value matches the matchVersion argument.Get the value associated with the key.KVStore.get
(Key key, Consistency consistency, long timeout, TimeUnit timeoutUnit) Get the value associated with the key.boolean
Returns true if a Key is within the bounds of this range with respect to a parent Key.boolean
Returns true if this key is a prefix of the key supplied as the argument.int
KVStore.multiDelete
(Key parentKey, KeyRange subRange, Depth depth) Deletes the descendant Key/Value pairs associated with theparentKey
.int
KVStore.multiDelete
(Key parentKey, KeyRange subRange, Depth depth, Durability durability, long timeout, TimeUnit timeoutUnit) Deletes the descendant Key/Value pairs associated with theparentKey
.Returns the descendant key/value pairs associated with theparentKey
.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) The iterator form ofKVStore.multiGet(Key, KeyRange, Depth)
.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) Returns the descendant keys associated with theparentKey
.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) The iterator form ofKVStore.multiGetKeys(Key, KeyRange, Depth)
.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)
.Put a key/value pair, inserting or overwriting as appropriate.KVStore.put
(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, inserting or overwriting as appropriate.KVStore.putIfAbsent
(Key key, Value value) Put a key/value pair, but only if no value for the given key is present.KVStore.putIfAbsent
(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, but only if no value for the given key is present.KVStore.putIfPresent
(Key key, Value value) Put a key/value pair, but only if a value for the given key is present.KVStore.putIfPresent
(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, but only if a value for the given key is present.KVStore.putIfVersion
(Key key, Value value, Version matchVersion) Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.KVStore.putIfVersion
(Key key, Value value, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit) Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.KVStore.storeIterator
(Direction direction, int batchSize, Key parentKey, KeyRange subRange, Depth depth) 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) 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
(Direction direction, int batchSize, Key parentKey, KeyRange subRange, Depth depth) 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) 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).Modifier and TypeMethodDescriptionKVStore.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.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). -
Uses of Key in oracle.kv.coherence
Methods in oracle.kv.coherence that return KeyModifier and TypeMethodDescriptionCacheKeyMapper.mapCacheKey
(Object keyObject) Given an object that represents an Oracle Coherence cache key, return an Oracle NoSQL DatabaseKey
. -
Uses of Key in oracle.kv.hadoop
Methods in oracle.kv.hadoop with parameters of type KeyModifier and TypeMethodDescriptionstatic void
KVInputFormatBase.setParentKey
(Key parentKey) Specifies the parent key whose "child" KV pairs are to be returned by the InputFormat. -
Uses of Key in oracle.kv.lob
Methods in oracle.kv.lob with parameters of type KeyModifier and TypeMethodDescriptionKVLargeObject.appendLOB
(Key lobKey, InputStream lobAppendStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit) Appends to a value of an existing LOB key/value pair.boolean
KVLargeObject.deleteLOB
(Key lobKey, Durability durability, long lobTimeout, TimeUnit timeoutUnit) Deletes the LOB associated with the key.KVLargeObject.getLOB
(Key lobKey, Consistency consistency, long lobTimeout, TimeUnit timeoutUnit) Returns an InputStream representing the underlying LOB value associated with the key.KVLargeObject.putLOB
(Key lobKey, InputStream lobStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit) Put a key/LOB value pair, inserting new value or overwriting an existing pair as appropriate.KVLargeObject.putLOBIfAbsent
(Key lobKey, InputStream lobStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit) Put a key/LOB value pair, but only if the key either has no value or has a partially inserted or deleted LOB value present.KVLargeObject.putLOBIfPresent
(Key lobKey, InputStream lobStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit) Put a key/LOB value pair, but only if a complete value for the given key is present.