# Uses of Class
oracle.kv.table.WriteOptions

Packages that use WriteOptions
Package
Description
oracle.kv
This package contains the public API for using Oracle NoSQL Database.
oracle.kv.table
Table support for Oracle NoSQL Database.

- ## Uses of WriteOptions in oracle.kv

  Subclasses of WriteOptions in oracle.kv
  Modifier and Type
  Class
  Description
  `class`
  `BulkWriteOptions`
  BulkWriteOptions is used to configure bulk write operations.

- ## Uses of WriteOptions in oracle.kv.table

  Methods in oracle.kv.table that return WriteOptions
  Modifier and Type
  Method
  Description
  `WriteOptions`
  WriteOptions.`setDurability(Durability durability)`
  Sets durability of write operation.
  `WriteOptions`
  WriteOptions.`setIdentityCacheSize(int identityCacheSize)`
  Sets the number of generated identity values that are requested from the server during a put.
  `WriteOptions`
  WriteOptions.`setTimeout(long timeout, TimeUnit timeoutUnit)`
  Sets timeout for write operation.
  `WriteOptions`
  WriteOptions.`setUpdateTTL(boolean flag)`
  Sets whether absolute expiration time will be modified during update.
  Methods in oracle.kv.table with parameters of type WriteOptions
  Modifier and Type
  Method
  Description
  `boolean`
  TableAPI.`delete(PrimaryKey key, ReturnRow prevRow, WriteOptions writeOptions)`
  Deletes a row from a table.
  `CompletableFuture<Boolean>`
  TableAPI.`deleteAsync(PrimaryKey key, ReturnRow prevRow, WriteOptions writeOptions)`
  Deletes a row from a table, returning a future to manage the asynchronous operation.
  `boolean`
  TableAPI.`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.
  `CompletableFuture<Boolean>`
  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 in `matchVersion`, returning a future to manage the asynchronous operation.
  `List<TableOperationResult>`
  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.
  `CompletableFuture<List<TableOperationResult>>`
  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.
  `int`
  TableAPI.`multiDelete(PrimaryKey key, MultiRowOptions getOptions, WriteOptions writeOptions)`
  Deletes multiple rows from a table in an atomic operation.
  `CompletableFuture<Integer>`
  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.
  `Version`
  TableAPI.`put(Row row, ReturnRow prevRow, WriteOptions writeOptions)`
  Puts a row into a table.
  `CompletableFuture<Version>`
  TableAPI.`putAsync(Row row, ReturnRow prevRow, WriteOptions writeOptions)`
  Puts a row into a table, returning a future to manage the asynchronous operation.
  `Version`
  TableAPI.`putIfAbsent(Row row, ReturnRow prevRow, WriteOptions writeOptions)`
  Puts a row into a table, but only if the row does not exist.
  `CompletableFuture<Version>`
  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.
  `Version`
  TableAPI.`putIfPresent(Row row, ReturnRow prevRow, WriteOptions writeOptions)`
  Puts a row into a table, but only if the row already exists.
  `CompletableFuture<Version>`
  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.
  `Version`
  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.
  `CompletableFuture<Version>`
  TableAPI.`putIfVersionAsync(Row row, Version matchVersion, ReturnRow prevRow, WriteOptions writeOptions)`
  Puts a row, but only if the version of the existing row matches the `matchVersion` argument, returning a future to manage the asynchronous operation.
  Constructors in oracle.kv.table with parameters of type WriteOptions
  Modifier
  Constructor
  Description
  ``
  `WriteOptions(WriteOptions options)`