Class Query<T>

java.lang.Object
io.vertx.rxjava3.sqlclient.Query<T>
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
Direct Known Subclasses:
PreparedQuery

public class Query<T> extends Object implements io.vertx.lang.rx.RxDelegate
A query.

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

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<Query> __TYPE_ARG
    • __typeArg_0

      public final io.vertx.lang.rx.TypeArg<T> __typeArg_0
  • Constructor Details

    • Query

      public Query(Query delegate)
    • Query

      public Query(Object delegate, io.vertx.lang.rx.TypeArg<T> typeArg_0)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

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

      public Query getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • execute

      public Single<T> execute()
      Execute the query.
      Returns:
      a future notified with the result
    • rxExecute

      public Single<T> rxExecute()
      Execute the query.
      Returns:
      a future notified with the result
    • mapping

      public <U> Query<RowSet<U>> mapping(Function<Row,U> mapper)
      Use the specified mapper for mapping Row to .
      Parameters:
      mapper -
      Returns:
    • newInstance

      public static <T> Query<T> newInstance(Query arg)
    • newInstance

      public static <T> Query<T> newInstance(Query arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T)