Package | Description |
---|---|
io.vertx.reactivex.sqlclient.templates | |
io.vertx.rxjava3.sqlclient.templates | |
io.vertx.sqlclient.templates |
Modifier and Type | Method and Description |
---|---|
SqlTemplate |
SqlTemplate.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <I,R> SqlTemplate<I,R> |
SqlTemplate.newInstance(SqlTemplate arg) |
static <I,R> SqlTemplate<I,R> |
SqlTemplate.newInstance(SqlTemplate arg,
io.vertx.lang.rx.TypeArg<I> __typeArg_I,
io.vertx.lang.rx.TypeArg<R> __typeArg_R) |
Constructor and Description |
---|
SqlTemplate(SqlTemplate delegate) |
Modifier and Type | Method and Description |
---|---|
SqlTemplate |
SqlTemplate.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static <I,R> SqlTemplate<I,R> |
SqlTemplate.newInstance(SqlTemplate arg) |
static <I,R> SqlTemplate<I,R> |
SqlTemplate.newInstance(SqlTemplate arg,
io.vertx.lang.rx.TypeArg<I> __typeArg_I,
io.vertx.lang.rx.TypeArg<R> __typeArg_R) |
Constructor and Description |
---|
SqlTemplate(SqlTemplate delegate) |
Modifier and Type | Method and Description |
---|---|
<U> SqlTemplate<I,SqlResult<U>> |
SqlTemplate.collecting(java.util.stream.Collector<Row,?,U> collector)
Set a collector that will process the output and produce a custom result.
|
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
Row . |
static SqlTemplate<Map<String,Object>,SqlResult<Void>> |
SqlTemplate.forUpdate(SqlClient client,
String template)
Create an SQL template for query purpose consuming map parameters and returning void.
|
default <T> SqlTemplate<T,R> |
SqlTemplate.mapFrom(Class<T> type)
Set a parameters user defined class mapping.
|
<T> SqlTemplate<T,R> |
SqlTemplate.mapFrom(TupleMapper<T> mapper)
Set a parameters user defined mapping function.
|
<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.