Interface TupleMapper<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Map an arbitrary
T object to a Tuple.-
Method Summary
Modifier and TypeMethodDescriptionstatic TupleMapper<JsonObject> Map aJsonObjectto aTuple.The internal mapper contract that builds a tuple.static <T> TupleMapper<T> Create a mapper that associates a parameters object to a map of named parameters to their respective value.
-
Method Details
-
mapper
Create a mapper that associates a parameters object to a map of named parameters to their respective value.- Parameters:
fn- the function turning a parameters object into a map- Returns:
- the mapper
-
jsonObject
Map aJsonObjectto aTuple. -
map
-