Class Batch.Options

java.lang.Object
net.quasardb.qdb.batch.Batch.Options
Enclosing class:
Batch

public static class Batch.Options extends Object
Batch options.
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • enableFastCommit

      public void enableFastCommit()
      Resets commit mode to 'fast', i.e. the batch execution is optimized for performance and each operation is run independently.
    • enableTransactionalCommit

      public void enableTransactionalCommit()
      Resets commit mode to 'transactional', i.e. the batch is executed in order as a single atomic transaction.
    • setCommitMode

      public void setCommitMode(Batch.CommitMode commitMode)
      Resets commit mode to provided value.
    • getCommitMode

      public Batch.CommitMode getCommitMode()
      Provides access to the commit mode.