Class TupleMapper<T>


  • public class TupleMapper<T>
    extends Object
    Map an arbitrary T object to a .

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • TupleMapper

        public TupleMapper​(io.vertx.sqlclient.templates.TupleMapper delegate)
      • TupleMapper

        public TupleMapper​(Object delegate,
                           TypeArg<T> typeArg_0)
      • TupleMapper

        public TupleMapper​(io.vertx.sqlclient.templates.TupleMapper delegate,
                           TypeArg<T> typeArg_0)
    • Method Detail

      • getDelegate

        public io.vertx.sqlclient.templates.TupleMapper getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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 name
        size - the tuple size
        params - 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)