Class TupleMapper<T>
- java.lang.Object
-
- io.vertx.mutiny.sqlclient.templates.TupleMapper<T>
-
public class TupleMapper<T> extends Object
Map an arbitraryTobject to a . NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<TupleMapper>__TYPE_ARGTypeArg<T>__typeArg_0
-
Constructor Summary
Constructors Constructor Description TupleMapper(io.vertx.sqlclient.templates.TupleMapper delegate)TupleMapper(io.vertx.sqlclient.templates.TupleMapper delegate, TypeArg<T> typeArg_0)TupleMapper(Object delegate, TypeArg<T> typeArg_0)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)io.vertx.sqlclient.templates.TupleMappergetDelegate()inthashCode()static TupleMapper<io.vertx.core.json.JsonObject>jsonObject()Tuplemap(Function<Integer,String> mapping, int size, T params)static <T> TupleMapper<T>mapper(Function<T,Map<String,Object>> fn)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)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<TupleMapper> __TYPE_ARG
-
-
Method Detail
-
getDelegate
public io.vertx.sqlclient.templates.TupleMapper getDelegate()
-
mapper
public static <T> TupleMapper<T> mapper(Function<T,Map<String,Object>> fn)
- Parameters:
fn- the function turning a parameters object into a map- Returns:
- the mapper
-
jsonObject
public static TupleMapper<io.vertx.core.json.JsonObject> jsonObject()
- Returns:
-
map
public Tuple map(Function<Integer,String> mapping, int size, T params)
- Parameters:
mapping- associates an index to template parameter namesize- the tuple sizeparams- the parameters object- Returns:
- the tuple
-
newInstance
public static <T> TupleMapper<T> newInstance(io.vertx.sqlclient.templates.TupleMapper arg)
-
newInstance
public static <T> TupleMapper<T> newInstance(io.vertx.sqlclient.templates.TupleMapper arg, TypeArg<T> __typeArg_T)
-
-