Class DeleteRangeOptions
Represents options for the DeleteRange operation.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class DeleteRangeOptions : Object
Remarks
These options are passed to APIs
DeleteRangeAsync
and
GetDeleteRangeAsyncEnumerable.
For properties not specified or null
, appropriate defaults will
be used.
Note that if you only need to specify FieldRange, you may use overloads DeleteRangeAsync(String, Object, FieldRange, CancellationToken) and GetDeleteRangeAsyncEnumerable(String, Object, FieldRange, CancellationToken) instead that take FieldRange instead of these options.
Examples
Executing DeleteRange operation with provided DeleteRangeOptions.var result = await client.DeleteRange(
"myTable",
new MapValue // partial primary key
{
["deptId"] = 50
},
new DeleteRangeOptions
{
Timeout = TimeSpan.FromSeconds(20),
FieldRange = new FieldRange("itemId")
{
StartsAfter = 1010,
EndsWith = 2000
});
});
Constructors
Name | Description |
---|---|
DeleteRangeOptions() |
Properties
Name | Description |
---|---|
Compartment | Cloud service only. Gets or sets the compartment id or name for the operation. |
ContinuationKey | Gets or sets the continuation key for the DeleteRange operation. |
Durability | On-premise only. Gets or sets Durability value to use for the operation. |
FieldRange | Gets or sets the field range. |
MaxWriteKB | Gets or sets the limit on the total KB of data written during the operation. |
Namespace | On-premises only. Gets or sets the optional namespace. |
Timeout | Gets or sets the timeout for the request. |