Class RowMapper<T>

java.lang.Object
io.vertx.mutiny.sqlclient.templates.RowMapper<T>
All Implemented Interfaces:
MutinyDelegate

public class RowMapper<T> extends Object implements MutinyDelegate
Map a Row to an arbitrary T object.

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

See Also:
  • RowMapper
  • Field Details

  • Constructor Details

    • RowMapper

      public RowMapper(io.vertx.sqlclient.templates.RowMapper<T> delegate)
      Create a new instance of RowMapper delegating to the given (non-null) instance of RowMapper.
    • RowMapper

      public RowMapper(io.vertx.sqlclient.templates.RowMapper<T> delegate, TypeArg<T> typeArg_0)
    • RowMapper

      public RowMapper(Object delegate, TypeArg<T> typeArg_0)
  • Method Details

    • getDelegate

      public io.vertx.sqlclient.templates.RowMapper<T> getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • map

      public T map(Row row)
      Build a T representation of the given row
      Parameters:
      row - the row
      Returns:
      the object
    • newInstance

      public static <T> RowMapper<T> newInstance(io.vertx.sqlclient.templates.RowMapper<T> delegate)
      Creates a new instance of the RowMapper.
    • newInstance

      public static <T> RowMapper<T> newInstance(io.vertx.sqlclient.templates.RowMapper<T> delegate, TypeArg<T> typeArg_0)
      Creates a new instance of the RowMapper.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object