Class PreparedQuery<T>

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

public class PreparedQuery<T> extends Query<T> implements io.vertx.lang.rx.RxDelegate
A query for a prepared statement allowing parameterized execution of the query, this query will use a prepared statement.

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<PreparedQuery> __TYPE_ARG
    • __typeArg_0

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

    • PreparedQuery

      public PreparedQuery(PreparedQuery delegate)
    • PreparedQuery

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

    • toString

      public String toString()
      Overrides:
      toString in class Query<T>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Query<T>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Query<T>
    • getDelegate

      public PreparedQuery getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
      Overrides:
      getDelegate in class Query<T>
    • execute

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

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

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

      public Single<T> rxExecute(Tuple tuple)
      Execute the query.
      Parameters:
      tuple -
      Returns:
      a future notified with the result
    • executeBatch

      public Single<T> executeBatch(List<Tuple> batch)
      Execute the query with a batch of tuples.
      Parameters:
      batch - the batch of tuples
      Returns:
      a future notified with the result
    • rxExecuteBatch

      public Single<T> rxExecuteBatch(List<Tuple> batch)
      Execute the query with a batch of tuples.
      Parameters:
      batch - the batch of tuples
      Returns:
      a future notified with the result
    • mapping

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

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

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