Package | Description |
---|---|
com.github.davidmoten.rx.jdbc |
Database querying utilities for use with JDBC and RxJava.
|
Modifier and Type | Method and Description |
---|---|
QueryUpdate.Builder |
QueryUpdate.Builder.clearParameters()
Clears the parameter inputs for the query.
|
QueryUpdate.Builder |
QueryUpdate.Builder.dependsOn(rx.Observable<?> dependency)
Appends a dependency to the dependencies that have to complete their
emitting before the query is executed.
|
QueryUpdate.Builder |
QueryUpdate.Builder.dependsOnLastTransaction()
Appends a dependency on the result of the last transaction (
true for commit or false for rollback) to
the dependencies that have to complete their emitting before the
query is executed. |
QueryUpdate.Builder |
QueryUpdate.Builder.parameter(Object value)
Appends a parameter to the parameter list for the query.
|
QueryUpdate.Builder |
QueryUpdate.Builder.parameter(String name,
Object value)
Sets a named parameter.
|
QueryUpdate.Builder |
QueryUpdate.Builder.parameterBlob(byte[] bytes)
Appends a parameter to the parameter list for the query for a CLOB
parameter and handles null appropriately.
|
QueryUpdate.Builder |
QueryUpdate.Builder.parameterClob(String value)
Appends a parameter to the parameter list for the query for a CLOB
parameter and handles null appropriately.
|
QueryUpdate.Builder |
QueryUpdate.Builder.parameters(Object... objects)
Appends the given parameter values to the parameter list for the
query.
|
<T> QueryUpdate.Builder |
QueryUpdate.Builder.parameters(rx.Observable<T> parameters)
Appends the given parameters to the parameter list for the query.
|
QueryUpdate.Builder |
Database.update(String sql)
Returns a
QueryUpdate.Builder builder based on the given
update/insert/delete/DDL statement sql. |
Copyright © 2014–2015. All rights reserved.