| Package | Description |
|---|---|
| me.lucko.helper.sql | |
| me.lucko.helper.sql.batch | |
| me.lucko.helper.sql.plugin |
| Modifier and Type | Method and Description |
|---|---|
BatchBuilder |
Sql.batch(String statement)
Gets a
BatchBuilder for the provided statement. |
| Modifier and Type | Method and Description |
|---|---|
void |
Sql.executeBatch(BatchBuilder builder)
Executes a batched database execution.
|
default me.lucko.helper.promise.Promise<Void> |
Sql.executeBatchAsync(BatchBuilder builder)
Executes a batched database execution.
|
| Modifier and Type | Method and Description |
|---|---|
BatchBuilder |
BatchBuilder.batch(be.bendem.sqlstreams.util.SqlConsumer<PreparedStatement> handler)
Adds an additional handler to be executed when this batch is finished.
|
BatchBuilder |
BatchBuilder.reset()
Resets this BatchBuilder, making it possible to re-use
for multiple situations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HelperSqlBatchBuilder |
| Modifier and Type | Method and Description |
|---|---|
BatchBuilder |
HelperSqlBatchBuilder.batch(be.bendem.sqlstreams.util.SqlConsumer<PreparedStatement> handler) |
BatchBuilder |
HelperSql.batch(String statement) |
BatchBuilder |
HelperSqlBatchBuilder.reset() |
| Modifier and Type | Method and Description |
|---|---|
void |
HelperSql.executeBatch(BatchBuilder builder) |
Copyright © 2019. All rights reserved.