Class CollectionInsertManyOptions

java.lang.Object
com.datastax.astra.client.core.options.BaseOptions<CollectionInsertManyOptions>
com.datastax.astra.client.collections.commands.options.CollectionInsertManyOptions
All Implemented Interfaces:
Cloneable

public class CollectionInsertManyOptions extends BaseOptions<CollectionInsertManyOptions>
Options for InsertMany
  • Constructor Details

    • CollectionInsertManyOptions

      public CollectionInsertManyOptions()
      Default constructor.
  • Method Details

    • isOrdered

      public boolean isOrdered()
      Gets ordered
      Returns:
      value of ordered
    • getConcurrency

      public int getConcurrency()
      Gets concurrency
      Returns:
      value of concurrency
    • isReturnDocumentResponses

      public boolean isReturnDocumentResponses()
      Gets returnDocumentResponses
      Returns:
      value of returnDocumentResponses
    • getChunkSize

      public int getChunkSize()
      Gets chunkSize
      Returns:
      value of chunkSize
    • requestTimeout

      public CollectionInsertManyOptions requestTimeout(long timeoutMillis)
      Specialization of the timeout options for this command.
      Parameters:
      timeoutMillis - timeout request
      Returns:
      current command