Package net.quasardb.qdb.batch
Class Batch.Options
java.lang.Object
net.quasardb.qdb.batch.Batch.Options
- Enclosing class:
Batch
Batch options.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidResets commit mode to 'fast', i.e.voidResets commit mode to 'transactional', i.e.Provides access to the commit mode.voidsetCommitMode(Batch.CommitMode commitMode) Resets commit mode to provided value.
-
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
Resets commit mode to provided value. -
getCommitMode
Provides access to the commit mode.
-