Uses of Class
oracle.kv.Durability
-
Packages that use Durability Package Description oracle.kv This package contains the public API for using Oracle NoSQL Database.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. -
-
Uses of Durability in oracle.kv
Fields in oracle.kv declared as Durability Modifier and Type Field Description static DurabilityDurability. COMMIT_NO_SYNCA convenience constant that defines a durability policy with COMMIT_NO_SYNC for Master commit synchronization.static DurabilityDurability. COMMIT_SYNCA convenience constant that defines a durability policy with COMMIT_SYNC for Master commit synchronization.static DurabilityDurability. COMMIT_WRITE_NO_SYNCA convenience constant that defines a durability policy with COMMIT_WRITE_NO_SYNC for Master commit synchronization.Methods in oracle.kv that return Durability Modifier and Type Method Description static DurabilityDurability. fromByteArray(byte[] keyBytes)Deserializes the given bytes that were returned earlier bytoByteArray()and returns the resulting Durability.DurabilityKVStoreConfig. getDurability()Returns the default write Durability.Methods in oracle.kv with parameters of type Durability Modifier and Type Method Description booleanKVStore. delete(Key key, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Delete the key/value pair associated with the key.booleanKVStore. deleteIfVersion(Key key, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Delete a key/value pair, but only if the version of the existing value matches the matchVersion argument.java.util.List<OperationResult>KVStore. execute(java.util.List<Operation> operations, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)This method provides an efficient and transactional mechanism for executing a sequence of operations associated with keys that share the same Major Path.intKVStore. multiDelete(Key parentKey, KeyRange subRange, Depth depth, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Deletes the descendant Key/Value pairs associated with theparentKey.VersionKVStore. put(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, inserting or overwriting as appropriate.VersionKVStore. putIfAbsent(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if no value for the given key is present.VersionKVStore. putIfPresent(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if a value for the given key is present.VersionKVStore. putIfVersion(Key key, Value value, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.KVStoreConfigKVStoreConfig. setDurability(Durability durability)Configures the default write Durability to be used when a Durability is not specified for a particular write operation.Constructors in oracle.kv with parameters of type Durability Constructor Description BulkWriteOptions(Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)The options used to configure the bulk put operation. -
Uses of Durability in oracle.kv.lob
Methods in oracle.kv.lob with parameters of type Durability Modifier and Type Method Description VersionKVLargeObject. appendLOB(Key lobKey, java.io.InputStream lobAppendStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Appends to a value of an existing LOB key/value pair.booleanKVLargeObject. deleteLOB(Key lobKey, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Deletes the LOB associated with the key.VersionKVLargeObject. putLOB(Key lobKey, java.io.InputStream lobStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/LOB value pair, inserting new value or overwriting an existing pair as appropriate.VersionKVLargeObject. putLOBIfAbsent(Key lobKey, java.io.InputStream lobStream, Durability durability, long lobTimeout, java.util.concurrent.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.VersionKVLargeObject. putLOBIfPresent(Key lobKey, java.io.InputStream lobStream, Durability durability, long lobTimeout, java.util.concurrent.TimeUnit timeoutUnit)Put a key/LOB value pair, but only if a complete value for the given key is present. -
Uses of Durability in oracle.kv.query
Methods in oracle.kv.query that return Durability Modifier and Type Method Description DurabilityExecuteOptions. getDurability()Gets the last set execution durability.Methods in oracle.kv.query with parameters of type Durability Modifier and Type Method Description ExecuteOptionsExecuteOptions. setDurability(Durability durability)Sets the execution durability. -
Uses of Durability in oracle.kv.table
Methods in oracle.kv.table that return Durability Modifier and Type Method Description DurabilityWriteOptions. getDurability()Returns the durability associated with the operation.Methods in oracle.kv.table with parameters of type Durability Modifier and Type Method Description WriteOptionsWriteOptions. setDurability(Durability durability)Sets durability of write operation.Constructors in oracle.kv.table with parameters of type Durability Constructor Description WriteOptions(Durability durability, long timeout, java.util.concurrent.TimeUnit timeoutUnit)Creates aWriteOptionswith the specified parameters.
-