Batch instances.
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| public | BatchBuilderImpl(int
The batch size to use. Can be overridden
on globalBatchSize)buildBatchConstructs a BatchBuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
| public Batch | buildBatch(BatchKey key, Integer explicitBatchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator)
Implements org. |
| public BatchImpl | buildBatch(BatchKey batchKey, Integer sizeOverride, String table, SessionImplementor session, String sql)
Intended for use from tests |
| public int |
| globalBatchSize | back to summary |
|---|---|
| private final int globalBatchSize | |
| BatchBuilderImpl | back to summary |
|---|---|
| public BatchBuilderImpl(int globalBatchSize) Constructs a BatchBuilderImpl
| |
| buildBatch | back to summary |
|---|---|
| public Batch buildBatch(BatchKey key, Integer explicitBatchSize, Supplier<PreparedStatementGroup> statementGroupSupplier, JdbcCoordinator jdbcCoordinator) Implements org. Doc from org. Build a batch.
| |
| buildBatch | back to summary |
|---|---|
| public BatchImpl buildBatch(BatchKey batchKey, Integer sizeOverride, String table, SessionImplementor session, String sql) Intended for use from tests
| |
| getJdbcBatchSize | back to summary |
|---|---|
| public int getJdbcBatchSize() | |