Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<TupleMapper> |
__TYPE_ARG |
io.vertx.lang.rx.TypeArg<T> |
__typeArg_0 |
Constructor and Description |
---|
TupleMapper(Object delegate,
io.vertx.lang.rx.TypeArg<T> typeArg_0) |
TupleMapper(TupleMapper delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
TupleMapper |
getDelegate() |
int |
hashCode() |
static TupleMapper<JsonObject> |
jsonObject()
Map a to a .
|
Tuple |
map(java.util.function.Function<Integer,String> mapping,
int size,
T params)
The internal mapper contract that builds a tuple.
|
static <T> TupleMapper<T> |
mapper(java.util.function.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(TupleMapper arg) |
static <T> TupleMapper<T> |
newInstance(TupleMapper arg,
io.vertx.lang.rx.TypeArg<T> __typeArg_T) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<TupleMapper> __TYPE_ARG
public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
public TupleMapper(TupleMapper delegate)
public TupleMapper getDelegate()
public static <T> TupleMapper<T> mapper(java.util.function.Function<T,Map<String,Object>> fn)
fn
- the function turning a parameters object into a mappublic static TupleMapper<JsonObject> jsonObject()
public Tuple map(java.util.function.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(TupleMapper arg)
public static <T> TupleMapper<T> newInstance(TupleMapper arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T)
Copyright © 2024 Eclipse. All rights reserved.