# Uses of Class
oracle.nosql.driver.ops.QueryRequest

Packages that use QueryRequest
Package
Description
oracle.nosql.driver
Contains the public API for using the Oracle NoSQL Database as well as configuration and common parameter classes used in database operations.
oracle.nosql.driver.ops
Contains the input and response classes used for Oracle NoSQL Database operations.

- ## Uses of QueryRequest in oracle.nosql.driver

  Methods in oracle.nosql.driver with parameters of type QueryRequest
  Modifier and Type
  Method
  Description
  `QueryResult`
  NoSQLHandle.`query(QueryRequest request)`
  Queries a table based on the query statement specified in the `QueryRequest`.
  `QueryIterableResult`
  NoSQLHandle.`queryIterable(QueryRequest request)`
  Queries a table based on the query statement specified in the `QueryRequest` while returning an iterable result.

- ## Uses of QueryRequest in oracle.nosql.driver.ops

  Methods in oracle.nosql.driver.ops that return QueryRequest
  Modifier and Type
  Method
  Description
  `QueryRequest`
  QueryRequest.`setCompartment(String compartment)`
  Cloud service only.
  `QueryRequest`
  QueryRequest.`setConsistency(Consistency consistency)`
  Sets the `Consistency` to use for the operation
  `QueryRequest`
  QueryRequest.`setContinuationKey(byte[] continuationKey)`
  Deprecated.
  There is no reason to use this method anymore, because setting the continuation key is now done internally.
  `QueryRequest`
  QueryRequest.`setDurability(Durability durability)`
  Sets the durability to use for the operation.
  `QueryRequest`
  QueryRequest.`setLimit(int limit)`
  Sets the limit on number of items returned by the operation.
  `QueryRequest`
  QueryRequest.`setMathContext(MathContext mathContext)`
  Sets the `MathContext` used for `BigDecimal` operations.
  `QueryRequest`
  QueryRequest.`setMaxMemoryConsumption(long maxBytes)`
  Sets the maximum number of memory bytes that may be consumed by the statement at the driver for operations such as duplicate elimination (which may be required due to the use of an index on an array or map) and sorting.
  `QueryRequest`
  QueryRequest.`setMaxReadKB(int maxReadKB)`
  Sets the limit on the total data read during this operation, in KB.
  `QueryRequest`
  QueryRequest.`setMaxWriteKB(int maxWriteKB)`
  Sets the limit on the total data written during this operation, in KB.
  `QueryRequest`
  QueryRequest.`setNamespace(String namespace)`
  Sets the optional namespace.
  `QueryRequest`
  QueryRequest.`setPreparedStatement(PreparedStatement preparedStatement)`
  Sets the prepared query statement.
  `QueryRequest`
  QueryRequest.`setPreparedStatement(PrepareResult prepareResult)`
  A convenience method to set the prepared query statement from a PrepareResult
  `QueryRequest`
  QueryRequest.`setStatement(String statement)`
  Sets the query statement.
  `QueryRequest`
  QueryRequest.`setTimeout(int timeoutMs)`
  Sets the request timeout value, in milliseconds.