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

Packages that use PrepareRequest
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 PrepareRequest in oracle.nosql.driver

  Methods in oracle.nosql.driver with parameters of type PrepareRequest
  Modifier and Type
  Method
  Description
  `PrepareResult`
  NoSQLHandle.`prepare(PrepareRequest request)`
  Prepares a query for execution and reuse.

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

  Methods in oracle.nosql.driver.ops that return PrepareRequest
  Modifier and Type
  Method
  Description
  `PrepareRequest`
  PrepareRequest.`setCompartment(String compartment)`
  Cloud service only.
  `PrepareRequest`
  PrepareRequest.`setGetQueryPlan(boolean v)`
  Sets whether the string value of the query execution plan should be included in the `PrepareResult`.
  `PrepareRequest`
  PrepareRequest.`setGetQuerySchema(boolean v)`
  Sets whether the JSON value of the query result schema for the query should be included in the `PrepareResult`.
  `PrepareRequest`
  PrepareRequest.`setNamespace(String namespace)`
  Sets the optional namespace.
  `PrepareRequest`
  PrepareRequest.`setStatement(String statement)`
  Sets the query statement.
  `PrepareRequest`
  PrepareRequest.`setTableName(String tableName)`
  Sets the table name for a query operation.
  `PrepareRequest`
  PrepareRequest.`setTimeout(int timeoutMs)`
  Sets the request timeout value, in milliseconds.