Modifier and Type | Class and Description |
---|---|
static class |
Inserter.Builder
Utility class for building
Inserter objects with custom behavioral tweaks. |
Modifier and Type | Field and Description |
---|---|
protected String |
onUpdate |
protected String |
onUpdateIf |
protected String |
valuePlaceholder |
columnNames, columnString, columnTypes, dataSource, DEADLOCK_RETRIES, DEADLOCK_SLEEP, DEFAULT_MAX_BATCH_DELAY, DEFAULT_MAX_BATCH_SIZE, DEFAULT_QUEUE_SIZE, maxBatchDelay, maxBatchSize, queue, tableName
Modifier and Type | Method and Description |
---|---|
protected String |
prepareSql(Collection<? extends Object> values)
Defines the insertion statement to be run by each execution of the batcher
|
protected String onUpdate
protected String onUpdateIf
protected String valuePlaceholder
protected String prepareSql(Collection<? extends Object> values)
prepareSql
in class Batcher
values
- the values to be eventually set in the prepared SQL statementCopyright © 2016. All rights reserved.