Class GetOptions
Represents options passed to GetAsync(String, MapValue, GetOptions, CancellationToken) API.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class GetOptions : Object
Remarks
For properties not specified or
null
,
appropriate defaults will be used as indicated below.
Examples
Executing Get operation with provided GetOptions.var result = await client.GetAsync("myTable",
new MapValue // primary key
{
["id"] = 1000
},
new GetOptions
{
Timeout = TimeSpan.FromSeconds(10),
Consistency = Consistency.Absolute
});
Constructors
Name | Description |
---|---|
GetOptions() |
Properties
Name | Description |
---|---|
Compartment | Cloud service only. Gets or sets the compartment id or name for the operation. |
Consistency | Gets or sets Consistency used for the operation. |
Namespace | On-premises only. Gets or sets the optional namespace. |
Timeout | Gets or sets the timeout for the request. |