Class BulkWriteOptions.Builder

java.lang.Object
com.datastax.astra.client.model.BulkWriteOptions.Builder
Enclosing class:
BulkWriteOptions

public static class BulkWriteOptions.Builder extends Object
Builder for creating FindOneAndUpdateOptions instances with a fluent API.
  • Method Details

    • ordered

      public static BulkWriteOptions ordered(boolean 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

      public static BulkWriteOptions concurrency(int 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.