Package com.datastax.astra.client.model
Class BulkWriteOptions.Builder
java.lang.Object
com.datastax.astra.client.model.BulkWriteOptions.Builder
- Enclosing class:
BulkWriteOptions
Builder for creating
FindOneAndUpdateOptions
instances with a fluent API.-
Method Summary
Modifier and TypeMethodDescriptionstatic BulkWriteOptions
concurrency
(int concurrency) Initializes the building process with concurrency options.static BulkWriteOptions
ordered
(boolean ordered) Initializes the building process with ordered options.
-
Method Details
-
ordered
Initializes the building process with ordered options.- Parameters:
ordered
- The ordered criteria to be applied to the insertMany operation.- Returns:
- A new
BulkWriteOptions
instance configured with the provided ordered criteria.
-
concurrency
Initializes the building process with concurrency options.- Parameters:
concurrency
- The concurrency criteria to be applied to the insertMany operation.- Returns:
- A new
BulkWriteOptions
instance configured with the provided concurrency criteria.
-