Table of Contents

Class BaseInsertManyOptions

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

Base class for insert-many operation options.

public abstract class BaseInsertManyOptions : CommandOptions
Inheritance
BaseInsertManyOptions
Derived
Inherited Members

Fields

DefaultChunkSize

Default batch size.

public const int DefaultChunkSize = 50

Field Value

int

DefaultConcurrency

Default concurrency for unordered insertions.

public const int DefaultConcurrency = 20

Field Value

int

Properties

ChunkSize

The number of documents to insert in each batch.

public int ChunkSize { get; set; }

Property Value

int

Concurrency

The number of parallel processes to use while inserting documents. Must be set to 1 for ordered inserts.

public int Concurrency { get; set; }

Property Value

int

Ordered

Whether to insert documents in order or not.

public bool Ordered { get; set; }

Property Value

bool