Class BatchWriteItemRequest
Represents a request to batch write items to multiple tables.
Inherited Members
Namespace: Innovt.Cloud.Table
Assembly: Innovt.Cloud.dll
Syntax
public class BatchWriteItemRequest
Constructors
| Edit this page View SourceBatchWriteItemRequest()
Initializes a new instance of the BatchWriteItemRequest class.
Declaration
public BatchWriteItemRequest()
Properties
| Edit this page View SourceItems
Gets the items to be written in the batch, grouped by table name.
Declaration
public Dictionary<string, List<BatchWriteItem>> Items { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, List<BatchWriteItem>> |
MaxRetry
Gets or sets the maximum number of retry attempts in case of failures.
Declaration
public int MaxRetry { get; set; }
Property Value
Type | Description |
---|---|
int |
RetryDelay
Gets or sets the delay between retry attempts in case of failures.
Declaration
public TimeSpan RetryDelay { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Methods
| Edit this page View SourceAddItem(string, BatchWriteItem)
Adds a batch write item for a specific table.
Declaration
public void AddItem(string tableName, BatchWriteItem batchRequestItem)
Parameters
Type | Name | Description |
---|---|---|
string | tableName | The name of the table. |
BatchWriteItem | batchRequestItem | The batch write item for the specified table. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | Thrown when |