Table of Contents

Class MultiTableBatchGet

Namespace
Amazon.DynamoDBv2.DataModel
Assembly
AWSSDK.DynamoDBv2.dll

Class for retrieving a batch of items from multiple DynamoDB tables, using multiple strongly-typed BatchGet objects

public class MultiTableBatchGet
Inheritance
MultiTableBatchGet
Inherited Members

Constructors

MultiTableBatchGet(params BatchGet[])

Constructs a MultiTableBatchGet object from a number of BatchGet objects

public MultiTableBatchGet(params BatchGet[] batches)

Parameters

batches BatchGet[]

Collection of BatchGet objects

Properties

TotalKeys

Gets the total number of primary keys to be loaded from DynamoDB, across all batches

public int TotalKeys { get; }

Property Value

int

Methods

AddBatch(BatchGet)

Add a BatchGet object to the multi-table batch request

public void AddBatch(BatchGet batch)

Parameters

batch BatchGet

BatchGet to add

ExecuteAsync(CancellationToken)

Initiates the asynchronous execution of the Execute operation. Amazon.DynamoDBv2.DataModel.MultiTableBatchGet.Execute

public Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token which can be used to cancel the task.

Returns

Task

A Task that can be used to poll or wait for results, or both.