public class TupleMapper<T> extends Object
T
object to a .
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<TupleMapper> |
__TYPE_ARG |
TypeArg<T> |
__typeArg_0 |
Constructor and Description |
---|
TupleMapper(Object delegate,
TypeArg<T> typeArg_0) |
TupleMapper(io.vertx.sqlclient.templates.TupleMapper delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.vertx.sqlclient.templates.TupleMapper |
getDelegate() |
int |
hashCode() |
static TupleMapper<io.vertx.core.json.JsonObject> |
jsonObject()
Map a to a .
|
Tuple |
map(Function<Integer,String> mapping,
int size,
T params)
The internal mapper contract that builds a tuple.
|
static <T> TupleMapper<T> |
mapper(Function<T,Map<String,Object>> fn)
Create a mapper that associates a parameters object to a map of named parameters to
their respective value.
|
static <T> TupleMapper<T> |
newInstance(io.vertx.sqlclient.templates.TupleMapper arg) |
static <T> TupleMapper<T> |
newInstance(io.vertx.sqlclient.templates.TupleMapper arg,
TypeArg<T> __typeArg_T) |
String |
toString() |
public static final TypeArg<TupleMapper> __TYPE_ARG
public TupleMapper(io.vertx.sqlclient.templates.TupleMapper delegate)
public io.vertx.sqlclient.templates.TupleMapper getDelegate()
public static <T> TupleMapper<T> mapper(Function<T,Map<String,Object>> fn)
fn
- the function turning a parameters object into a mappublic static TupleMapper<io.vertx.core.json.JsonObject> jsonObject()
public Tuple map(Function<Integer,String> mapping, int size, T params)
mapping
- associates an index to template parameter namesize
- the tuple sizeparams
- the parameters objectpublic static <T> TupleMapper<T> newInstance(io.vertx.sqlclient.templates.TupleMapper arg)
public static <T> TupleMapper<T> newInstance(io.vertx.sqlclient.templates.TupleMapper arg, TypeArg<T> __typeArg_T)
Copyright © 2020 Eclipse. All rights reserved.