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

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

  Methods in oracle.nosql.driver with parameters of type GetRequest
  Modifier and Type
  Method
  Description
  `GetResult`
  NoSQLHandle.`get(GetRequest request)`
  Gets the row associated with a primary key.

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

  Methods in oracle.nosql.driver.ops that return GetRequest
  Modifier and Type
  Method
  Description
  `GetRequest`
  GetRequest.`setCompartment(String compartment)`
  Cloud service only.
  `GetRequest`
  GetRequest.`setConsistency(Consistency consistency)`
  Sets the `Consistency` to use for the operation.
  `GetRequest`
  GetRequest.`setKey(MapValue key)`
  Sets the primary key used for the get operation.
  `GetRequest`
  GetRequest.`setKeyFromJson(String jsonValue, JsonOptions options)`
  Sets the key to use for the get operation based on a JSON string.
  `GetRequest`
  GetRequest.`setNamespace(String namespace)`
  Sets the optional namespace.
  `GetRequest`
  GetRequest.`setTableName(String tableName)`
  Sets the table name to use for the operation.
  `GetRequest`
  GetRequest.`setTimeout(int timeoutMs)`
  Sets the request timeout value, in milliseconds.