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()
Query
public com.github.davidmoten.rx.jdbc.QueryContext context()
Query
ConnectionProvider
and
Scheduler
.public rx.Observable<com.github.davidmoten.rx.jdbc.Parameter> parameters()
Query
parameters
in interface Query
public List<String> names()
Query
public rx.Observable<?> depends()
Query
public <T> rx.Observable<T> execute(ResultSetMapper<? extends T> function)
Copyright © 2014–2015. All rights reserved.