Package oracle.nosql.driver.ops
Request
and
Result
.
Request
instances are parameter objects that
hold required and optional state for a given request type and
operation. Some parameters are defaulted based on the
NoSQLHandleConfig
and can be overridden in a specific request. Examples of these are timeouts
and Consistency
. Some parameters are required.
For example, most requests require a table name for the target table,
NoSQLHandle.put(oracle.nosql.driver.ops.PutRequest)
requires a value, etc.
Validation of parameter state is not performed until the object is used in a request, so illegal state is not immediately detected.
Result
instances represent return state for
operations that succeed. All result instances contain information about
throughput used by that operation if available, in the form of
getReadUnits and getWriteUnits interfaces on the objects.
When used against an on-premises service resource consumption information is
not available and will be 0.
Request
and
Result
instances are not thread-safe and not
intended to be shared. Request
can be reused
and are not modified when used in operations, but they should not be modified
while in use by the system.
-
ClassDescriptionCloud service only.Represents the input to a
NoSQLHandle.delete(oracle.nosql.driver.ops.DeleteRequest)
operation.Represents the result of aNoSQLHandle.delete(oracle.nosql.driver.ops.DeleteRequest)
operation.Cloud service only.Represents a base class for operations that support aDurability
setting.Represents the argument of aNoSQLHandle.getIndexes(oracle.nosql.driver.ops.GetIndexesRequest)
operation which returns the information of a specific index or all indexes of the specified table, as returned inGetIndexesResult
.Represents the result of aNoSQLHandle.getIndexes(oracle.nosql.driver.ops.GetIndexesRequest)
operation.IndexInfo represents the information about a single index including its name and field names.Represents the input to aNoSQLHandle.get(oracle.nosql.driver.ops.GetRequest)
operation which returns a single row based on the specified key.Represents the result of aNoSQLHandle.get(oracle.nosql.driver.ops.GetRequest)
operation.Represents the argument of aNoSQLHandle.getTable(oracle.nosql.driver.ops.GetTableRequest)
operation which returns static information associated with a table, as returned inTableResult
.Represents the argument of aNoSQLHandle.listTables(oracle.nosql.driver.ops.ListTablesRequest)
operation which lists all available tables associated with the identity associated with the handle used for the operation.Represents the result of aNoSQLHandle.listTables(oracle.nosql.driver.ops.ListTablesRequest)
operation.Represents the input to aNoSQLHandle.multiDelete(oracle.nosql.driver.ops.MultiDeleteRequest)
operation which can be used to delete a range of values that match the primary key and range provided.Represents the result of aNoSQLHandle.multiDelete(oracle.nosql.driver.ops.MultiDeleteRequest)
operation.A class encapsulating a prepared query statement.A request that encapsulates a query prepare call.The result of a prepare operation.Represents the input to aNoSQLHandle.put(oracle.nosql.driver.ops.PutRequest)
operation.Specifies a condition for the put operation.Represents the result of aNoSQLHandle.put(oracle.nosql.driver.ops.PutRequest)
operation.QueryIterableResult represents anIterable
over all the query results.A request that represents a query.QueryResult comprises a list ofMapValue
instances representing the query results.Represents a base class for read operations such asNoSQLHandle.get(oracle.nosql.driver.ops.GetRequest)
.Cloud service only.Cloud service only.ReplicaStats contains information about replica lag for a specific replica.A request is an abstract class used as a base for all requests types.Result is a base class for result classes for all supported operations.A class that maintains stats on retries during a request.On-premises only.On-premises only.On-premises only.On-premises only.Cloud service only.Table limits optionTableRequest is used to create, modify, and drop tables.TableResult is returned fromNoSQLHandle.getTable(oracle.nosql.driver.ops.GetTableRequest)
andNoSQLHandle.tableRequest(oracle.nosql.driver.ops.TableRequest)
operations.Cloud service only.The current state of the tableCloud service only.Cloud service only.TableUsage represents a single usage record, or slice, that includes information about read and write throughput consumed during that period as well as the current information regarding storage capacity.Represents the input to aNoSQLHandle.writeMultiple(oracle.nosql.driver.ops.WriteMultipleRequest)
operation.Represents the result of aNoSQLHandle.writeMultiple(oracle.nosql.driver.ops.WriteMultipleRequest)
operation.The Result associated with the execution of an individual operation in the request.Represents a base class for the single row modifying operationsNoSQLHandle.put(oracle.nosql.driver.ops.PutRequest)
andNoSQLHandle.delete(oracle.nosql.driver.ops.DeleteRequest)
.A base class for results of single row modifying operations such as put and delete.