GraphBulkExecutor.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> graphElements, bool enableUpsert = false, bool disableAutomaticIdGeneration = true, 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 (graphElements As IEnumerable(Of Object), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = true, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)

Parameters

graphElements
System.Collections.Generic.IEnumerable<System.Object>
enableUpsert
System.Boolean
disableAutomaticIdGeneration
System.Boolean
maxConcurrencyPerPartitionKeyRange
System.Nullable<System.Int32>
maxInMemorySortingBatchSize
System.Nullable<System.Int32>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<BulkImportResponse>

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
System.Collections.Generic.IEnumerable<System.String>
enableUpsert
System.Boolean
disableAutomaticIdGeneration
System.Boolean
maxConcurrencyPerPartitionKeyRange
System.Nullable<System.Int32>
maxInMemorySortingBatchSize
System.Nullable<System.Int32>
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<BulkImportResponse>

Implements

Applies to