BulkExecutor.BulkImportAsync Method

Definition

Overloads

BulkImportAsync(IEnumerable<Object>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)
BulkImportAsync(IEnumerable<String>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

BulkImportAsync(IEnumerable<Object>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<object> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkImportAsync : seq<obj> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
override this.BulkImportAsync : seq<obj> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of Object), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)

Parameters

documents
IEnumerable<Object>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Returns

Implements

Applies to

BulkImportAsync(IEnumerable<String>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)

public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<string> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkImportAsync : seq<string> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
override this.BulkImportAsync : seq<string> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of String), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)

Parameters

documents
IEnumerable<String>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Returns

Implements

Applies to