@FunctionalInterface public interface TupleMapper<T>
T object to a Tuple.| Modifier and Type | Method and Description |
|---|---|
static TupleMapper<JsonObject> |
jsonObject()
Map a
JsonObject to a Tuple. |
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> mapper(Function<T,Map<String,Object>> fn)
fn - the function turning a parameters object into a mapstatic TupleMapper<JsonObject> jsonObject()
JsonObject to a Tuple.Copyright © 2024 Eclipse. All rights reserved.