| Modifier and Type | Class and Description |
|---|---|
static class |
QuerySelect.Builder
Builds a
QuerySelect. |
static class |
QuerySelect.OperatorBuilder<R>
Builder pattern for select query
Observable.Operator. |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.rx.jdbc.QueryContext |
context()
Returns the query context including
ConnectionProvider and
Scheduler. |
rx.Observable<?> |
depends()
Returns the Observables that have to complete before this query is
started.
|
<T> rx.Observable<T> |
execute(ResultSetMapper<? extends T> function)
Returns the results of running a select query with all sets of
parameters.
|
List<String> |
names()
Returns the list of names corresponding positionally to the ? characters in
the sql.
|
rx.Observable<com.github.davidmoten.rx.jdbc.Parameter> |
parameters()
Returns the parameters for the query in order of appearance as ? markers
in the sql.
|
String |
sql()
Returns the sql statement for this query following JDBC format (? for
parameters for instance).
|
String |
toString() |
public String sql()
Querypublic com.github.davidmoten.rx.jdbc.QueryContext context()
QueryConnectionProvider and
Scheduler.public rx.Observable<com.github.davidmoten.rx.jdbc.Parameter> parameters()
Queryparameters in interface Querypublic List<String> names()
Querypublic rx.Observable<?> depends()
Querypublic <T> rx.Observable<T> execute(ResultSetMapper<? extends T> function)
Copyright © 2014–2015. All rights reserved.