Class InsertManyOptions.Builder

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

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

    • ordered

      public static InsertManyOptions ordered(boolean ordered)
      Deprecated.
      Initializes the building process with ordered options.
      Parameters:
      ordered - The ordered criteria to be applied to the insertMany operation.
      Returns:
      A new InsertManyOptions instance configured with the provided ordered criteria.
    • concurrency

      public static InsertManyOptions concurrency(int concurrency)
      Deprecated.
      Initializes the building process with concurrency options.
      Parameters:
      concurrency - The concurrency criteria to be applied to the insertMany operation.
      Returns:
      A new InsertManyOptions instance configured with the provided concurrency criteria.
    • chunkSize

      public static InsertManyOptions chunkSize(int chunkSize)
      Deprecated.
      Initializes the building process with chunkSize options.
      Parameters:
      chunkSize - The chunkSize criteria to be applied to the insertMany operation.
      Returns:
      A new InsertManyOptions instance configured with the provided chunkSize criteria.
    • timeout

      public static InsertManyOptions timeout(int timeout)
      Deprecated.
      Initializes the building process with timeout options.
      Parameters:
      timeout - The timeout criteria to be applied to the insertMany operation.
      Returns:
      A new InsertManyOptions instance configured with the provided timeout criteria.