Package | Description |
---|---|
io.vertx.reactivex.sqlclient | |
io.vertx.reactivex.sqlclient.templates |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RowSet> |
RowSet.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
static <R> RowSet<R> |
RowSet.newInstance(RowSet arg) |
static <R> RowSet<R> |
RowSet.newInstance(RowSet arg,
io.vertx.lang.rx.TypeArg<R> __typeArg_R) |
RowSet<R> |
RowSet.next() |
RowSet<R> |
RowSet.value()
|
Modifier and Type | Method and Description |
---|---|
<U> PreparedQuery<RowSet<U>> |
PreparedQuery.mapping(java.util.function.Function<Row,U> mapper)
|
<U> Query<RowSet<U>> |
Query.mapping(java.util.function.Function<Row,U> mapper)
|
PreparedQuery<RowSet<Row>> |
Pool.preparedQuery(String sql)
A connection is borrowed from the connection pool when the query is executed and then immediately returned
to the pool after it completes.
|
PreparedQuery<RowSet<Row>> |
SqlClient.preparedQuery(String sql)
Create a prepared query, one of the
Query.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) or PreparedQuery.executeBatch(java.util.List<io.vertx.reactivex.sqlclient.Tuple>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)
methods must be called to execute the query. |
PreparedQuery<RowSet<Row>> |
PreparedStatement.query()
Create a prepared query for this statement.
|
Query<RowSet<Row>> |
Pool.query(String sql)
A connection is borrowed from the connection pool when the query is executed and then immediately returned
to the pool after it completes.
|
Query<RowSet<Row>> |
SqlClient.query(String sql)
Create a query, the
Query.execute(io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>) method must be called to execute the query. |
Single<RowSet<Row>> |
Cursor.rxRead(int count)
Read rows from the cursor, the result is provided asynchronously to the
handler . |
Modifier and Type | Method and Description |
---|---|
void |
Cursor.read(int count,
Handler<AsyncResult<RowSet<Row>>> handler)
Read rows from the cursor, the result is provided asynchronously to the
handler . |
Modifier and Type | Method and Description |
---|---|
static SqlTemplate<Map<String,Object>,RowSet<Row>> |
SqlTemplate.forQuery(SqlClient client,
String template)
Create an SQL template for query purpose consuming map parameters and returning .
|
<U> SqlTemplate<I,RowSet<U>> |
SqlTemplate.mapTo(Class<U> type)
Set a row user defined mapping function.
|
<U> SqlTemplate<I,RowSet<U>> |
SqlTemplate.mapTo(RowMapper<U> mapper)
Set a row user defined mapping function.
|
Copyright © 2021 Eclipse. All rights reserved.