Struct BatchGetResult<T>
- Namespace
- DynaSharp
- Assembly
- DynaSharp.dll
What a batch get returns.
public readonly struct BatchGetResult<T>
Type Parameters
TThe type of the items.
- Inherited Members
Properties
ConsumedCapacity
Gets the capacity the batch consumed, if ReturnCapacity asked for it: one entry per request, so the capacity of the batch is their sum. Empty otherwise.
public IReadOnlyList<ConsumedCapacity> ConsumedCapacity { get; }
Property Value
Items
Gets the items, in no particular order: not the order of the keys, and it differs between two runs. A key without an item is simply absent, so compare Count with the number of keys to notice one.
public IReadOnlyList<T> Items { get; }
Property Value
Requests
Gets how many requests DynamoDB saw, each with a span of its own: one per 100 keys, and one more per round of unprocessed keys. Zero for a batch without keys.
public int Requests { get; }