Here are the examples of the csharp api class Amazon.DynamoDBv2.DocumentModel.MultiBatchWrite.ConvertBatches(System.Collections.Generic.List) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
5 Examples
0
1. Example
Project: aws-sdk-xamarin
Source File: DocumentBatchWrite.cs
Source File: DocumentBatchWrite.cs
private void WriteItemsHelper(List<DocumentBatchWrite> batches, bool isAsync) { if (Batches == null || Batches.Count == 0) return; Dictionary<string, QuickList<WriteRequestDocument>> writeRequestsMap = ConvertBatches(batches); Table targetTable = this.Batches[0].TargetTable; while (true) { Dictionary<string, QuickList<WriteRequestDocument>> nextSet = GetNextWriteItems(ref writeRequestsMap, MaxItemsPerCall); if (nextSet.Count == 0) break; SendSet(nextSet, targetTable, isAsync); } }
0
2. Example
Project: aws-sdk-xamarin
Source File: DocumentBatchWrite.cs
Source File: DocumentBatchWrite.cs
private void WriteItemsHelper(List<DocumentBatchWrite> batches, bool isAsync) { if (Batches == null || Batches.Count == 0) return; Dictionary<string, QuickList<WriteRequestDocument>> writeRequestsMap = ConvertBatches(batches); Table targetTable = this.Batches[0].TargetTable; while (true) { Dictionary<string, QuickList<WriteRequestDocument>> nextSet = GetNextWriteItems(ref writeRequestsMap, MaxItemsPerCall); if (nextSet.Count == 0) break; SendSet(nextSet, targetTable, isAsync); } }
0
3. Example
Project: aws-sdk-xamarin
Source File: DocumentBatchWrite.cs
Source File: DocumentBatchWrite.cs
private void WriteItemsHelper(List<DocumentBatchWrite> batches, bool isAsync) { if (Batches == null || Batches.Count == 0) return; Dictionary<string, QuickList<WriteRequestDocument>> writeRequestsMap = ConvertBatches(batches); Table targetTable = this.Batches[0].TargetTable; while (true) { Dictionary<string, QuickList<WriteRequestDocument>> nextSet = GetNextWriteItems(ref writeRequestsMap, MaxItemsPerCall); if (nextSet.Count == 0) break; SendSet(nextSet, targetTable, isAsync); } }
0
4. Example
Project: aws-sdk-xamarin
Source File: DocumentBatchWrite.cs
Source File: DocumentBatchWrite.cs
private void WriteItemsHelper(List<DocumentBatchWrite> batches, bool isAsync) { if (Batches == null || Batches.Count == 0) return; Dictionary<string, QuickList<WriteRequestDocument>> writeRequestsMap = ConvertBatches(batches); Table targetTable = this.Batches[0].TargetTable; while (true) { Dictionary<string, QuickList<WriteRequestDocument>> nextSet = GetNextWriteItems(ref writeRequestsMap, MaxItemsPerCall); if (nextSet.Count == 0) break; SendSet(nextSet, targetTable, isAsync); } }
0
5. Example
Project: aws-sdk-xamarin
Source File: DocumentBatchWrite.cs
Source File: DocumentBatchWrite.cs
private void WriteItemsHelper(List<DocumentBatchWrite> batches, bool isAsync) { if (Batches == null || Batches.Count == 0) return; Dictionary<string, QuickList<WriteRequestDocument>> writeRequestsMap = ConvertBatches(batches); Table targetTable = this.Batches[0].TargetTable; while (true) { Dictionary<string, QuickList<WriteRequestDocument>> nextSet = GetNextWriteItems(ref writeRequestsMap, MaxItemsPerCall); if (nextSet.Count == 0) break; SendSet(nextSet, targetTable, isAsync); } }