Class for retrieving a batch of Documents from multiple DynamoDB tables.
コード例 #1
0
ファイル: BatchGet.cs プロジェクト: rossmas/aws-sdk-net
        internal void ExecuteHelper(bool isAsync)
        {
            MultiTableDocumentBatchGet superBatch = new MultiTableDocumentBatchGet();
            foreach (var batch in allBatches)
            {
                batch.CreateDocumentBatch();
                superBatch.AddBatch(batch.DocumentBatch);
            }
            superBatch.ExecuteHelper(isAsync);

            foreach (var batch in allBatches)
            {
                batch.PopulateResults(batch.DocumentBatch.Results);
            }
        }