Uses of Class
oracle.kv.query.ExecuteOptions
-
Packages that use ExecuteOptions Package Description oracle.kv This package contains the public API for using Oracle NoSQL Database.oracle.kv.query This package contains the majority of the public API for using Oracle NoSQL Database query language. -
-
Uses of ExecuteOptions in oracle.kv
Methods in oracle.kv with parameters of type ExecuteOptions Modifier and Type Method Description ExecutionFuture
KVStore. execute(char[] statement, ExecuteOptions options)
This method is equivalent toKVStore.execute(String, ExecuteOptions)
, but the statement is given as a char[].ExecutionFuture
KVStore. execute(java.lang.String statement, ExecuteOptions options)
This method is equivalent toKVStore.execute(String)
, but it allows its users to specify execution options that override the defaults.Publisher<RecordValue>
KVStore. executeAsync(java.lang.String statement, ExecuteOptions options)
Returns a publisher that can be used to subscribe to the results of the asynchronous execution of an SQL statement.Publisher<RecordValue>
KVStore. executeAsync(Statement statement, ExecuteOptions options)
Returns a publisher that can be used to subscribe to the results of the asynchronous execution of a table statement, either aPreparedStatement
or aBoundStatement
.StatementResult
KVStore. executeSync(char[] statement, ExecuteOptions options)
Synchronously execute an SQL statement.StatementResult
KVStore. executeSync(java.lang.String statement, ExecuteOptions options)
Synchronously execute an SQL statement.StatementResult
KVStore. executeSync(Statement statement, ExecuteOptions options)
Synchronously execute a prepared SQL statement provided as aPreparedStatement
orBoundStatement
. -
Uses of ExecuteOptions in oracle.kv.query
Methods in oracle.kv.query that return ExecuteOptions Modifier and Type Method Description ExecuteOptions
ExecuteOptions. setConsistency(Consistency consistency)
Sets the execution consistency.ExecuteOptions
ExecuteOptions. setDurability(Durability durability)
Sets the execution durability.ExecuteOptions
ExecuteOptions. setMathContext(java.math.MathContext mathContext)
Sets theMathContext
used forBigDecimal
andBigInteger
operations.ExecuteOptions
ExecuteOptions. setMaxConcurrentRequests(int maxConcurrentRequests)
Sets the maximum number of concurrent requests.ExecuteOptions
ExecuteOptions. setNamespace(java.lang.String namespace)
Sets the namespace to use for the query.ExecuteOptions
ExecuteOptions. setResultsBatchSize(int resultsBatchSize)
Sets the max number of query results to be generated during the execution of the query over a partition or shard (which takes place at a replication node (RN) that contains the target partition/shard).ExecuteOptions
ExecuteOptions. setTimeout(long timeout, java.util.concurrent.TimeUnit timeoutUnit)
Thetimeout
parameter is an upper bound on the time interval for processing one of the KVStore.execute(...) methods (KVStore.execute(String, ExecuteOptions)
,KVStore.executeSync(String, ExecuteOptions)
, orKVStore.executeSync(Statement, ExecuteOptions)
) and any of the subsequent next() and hasNext() invocations ofStatementResult.iterator()
.
-