Class WriteManyResult<TRow>
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class WriteManyResult<TRow> : Object
Type Parameters
| Name | Description |
|---|---|
| TRow | The type of value representing the row optionally returned by ExistingRow of Put or Delete sub operation. Must be a reference type. Currently the only supported type is RecordValue. |
Remarks
This class is the result of WriteManyAsync, PutManyAsync(String, IReadOnlyCollection<MapValue>, PutManyOptions, CancellationToken) and DeleteManyAsync(String, IReadOnlyCollection<MapValue>, DeleteManyOptions, CancellationToken) APIs.
If the operation succeeds, Success
is true and the execution result of each Put or Delete sub
operation is available as part of
Results property as an instance of
WriteOperationResult<TRow>.
If the operation is aborted because of the failure of a Put or Delete
sub operation that has
AbortIfUnsuccessful set to true
or because of failure of any sub operation if
AbortIfUnsuccessful,
AbortIfUnsuccessful or
AbortIfUnsuccessful is set to
true, then Success is
false and Results is set to
null. The index of failed Put or Delete operation is
available as FailedOperationIndex
and its execution result is available as
FailedOperationResult.
Properties
| Name | Description |
|---|---|
| ConsumedCapacity | Cloud Service/Cloud Simulator only. Gets capacity consumed by this operation. |
| FailedOperationIndex | Gets the index of the failed Put or Delete sub operation that resulted in the entire operation aborting. |
| FailedOperationResult | Gets the result of the failed Put or Delete sub operation that resulted in the entire operation aborting. |
| Results | Gets the list of results of sub operations. |
| Success | Gets a value indicating whether the operation was successful. |