public final class UpdateBuilder extends Object implements DependsOn<UpdateBuilder>
| Constructor and Description |
|---|
UpdateBuilder(String sql,
io.reactivex.Single<Connection> connections,
Database db) |
| Modifier and Type | Method and Description |
|---|---|
UpdateBuilder |
batchSize(int batchSize) |
io.reactivex.Completable |
complete() |
io.reactivex.Flowable<Integer> |
counts() |
UpdateBuilder |
dependsOn(io.reactivex.Flowable<?> flowable) |
T |
parameter(Object value) |
T |
parameter(String name,
Object value) |
T |
parameterList(List<Object> values) |
T |
parameterList(Object... values) |
T |
parameterListStream(io.reactivex.Flowable<List<?>> valueLists) |
T |
parameters(Object... values) |
T |
parameterStream(io.reactivex.Flowable<?> values) |
ReturnGeneratedKeysBuilder |
returnGeneratedKeys()
Returns a builder used to specify how to process the generated keys
ResultSet. |
TransactedUpdateBuilder |
transacted() |
io.reactivex.Single<Tx<?>> |
transaction() |
public UpdateBuilder(String sql, io.reactivex.Single<Connection> connections, Database db)
public UpdateBuilder dependsOn(io.reactivex.Flowable<?> flowable)
dependsOn in interface DependsOn<UpdateBuilder>public UpdateBuilder batchSize(int batchSize)
public ReturnGeneratedKeysBuilder returnGeneratedKeys()
ResultSet. Not all jdbc drivers support this functionality and
some have limitations in their support (h2 for instance only returns the
last generated key when multiple inserts happen in the one statement).public io.reactivex.Flowable<Integer> counts()
public TransactedUpdateBuilder transacted()
public io.reactivex.Single<Tx<?>> transaction()
public io.reactivex.Completable complete()
public final T parameterStream(@Nonnull io.reactivex.Flowable<?> values)
public final T parameterListStream(@Nonnull io.reactivex.Flowable<List<?>> valueLists)
public final T parameter(Object value)
public final T parameters(Object... values)
Copyright © 2016–2017. All rights reserved.