Uses of Class
oracle.kv.table.WriteOptions
Packages that use WriteOptions
Package
Description
This package contains the public API for using Oracle NoSQL Database.
Table support for Oracle NoSQL Database.
-
Uses of WriteOptions in oracle.kv
Subclasses of WriteOptions in oracle.kvModifier and TypeClassDescriptionclassBulkWriteOptions is used to configure bulk write operations. -
Uses of WriteOptions in oracle.kv.table
Methods in oracle.kv.table that return WriteOptionsModifier and TypeMethodDescriptionWriteOptions.setDurability(Durability durability) Sets durability of write operation.WriteOptions.setIdentityCacheSize(int identityCacheSize) Sets the number of generated identity values that are requested from the server during a put.WriteOptions.setTimeout(long timeout, TimeUnit timeoutUnit) Sets timeout for write operation.WriteOptions.setUpdateTTL(boolean flag) Sets whether absolute expiration time will be modified during update.Methods in oracle.kv.table with parameters of type WriteOptionsModifier and TypeMethodDescriptionbooleanTableAPI.delete(PrimaryKey key, ReturnRow prevRow, WriteOptions writeOptions) Deletes a row from a table.TableAPI.deleteAsync(PrimaryKey key, ReturnRow prevRow, WriteOptions writeOptions) Deletes a row from a table, returning a future to manage the asynchronous operation.booleanTableAPI.deleteIfVersion(PrimaryKey key, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions) Deletes a row from a table but only if its version matches the one specified in matchVersion.TableAPI.deleteIfVersionAsync(PrimaryKey key, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions) Deletes a row from a table, but only if its version matches the one specified inmatchVersion, returning a future to manage the asynchronous operation.TableAPI.execute(List<TableOperation> operations, WriteOptions writeOptions) This method provides an efficient and transactional mechanism for executing a sequence of operations associated with tables that share the same shard key portion of their primary keys.TableAPI.executeAsync(List<TableOperation> operations, WriteOptions writeOptions) This method provides an efficient and transactional mechanism for executing a sequence of operations associated with tables that share the same shard key portion of their primary keys, returning a future to manage the asynchronous operation.intTableAPI.multiDelete(PrimaryKey key, MultiRowOptions getOptions, WriteOptions writeOptions) Deletes multiple rows from a table in an atomic operation.TableAPI.multiDeleteAsync(PrimaryKey key, MultiRowOptions getOptions, WriteOptions writeOptions) Deletes multiple rows from a table in an atomic operation, returning a future to manage the asynchronous operation.TableAPI.put(Row row, ReturnRow prevRow, WriteOptions writeOptions) Puts a row into a table.TableAPI.putAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions) Puts a row into a table, returning a future to manage the asynchronous operation.TableAPI.putIfAbsent(Row row, ReturnRow prevRow, WriteOptions writeOptions) Puts a row into a table, but only if the row does not exist.TableAPI.putIfAbsentAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions) Puts a row into a table, but only if the row does not exist, returning a future to manage the asynchronous operation.TableAPI.putIfPresent(Row row, ReturnRow prevRow, WriteOptions writeOptions) Puts a row into a table, but only if the row already exists.TableAPI.putIfPresentAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions) Puts a row into a table, but only if the row already exists, returning a future to manage the asynchronous operation.TableAPI.putIfVersion(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions) Puts a row, but only if the version of the existing row matches the matchVersion argument.TableAPI.putIfVersionAsync(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions) Puts a row, but only if the version of the existing row matches thematchVersionargument, returning a future to manage the asynchronous operation.Constructors in oracle.kv.table with parameters of type WriteOptions