Class RowSet<R>

java.lang.Object
io.vertx.mutiny.sqlclient.RowSet<R>
All Implemented Interfaces:
MutinyDelegate, SqlResult<RowSet<R>>, Iterable<R>

public class RowSet<R> extends Object implements SqlResult<RowSet<R>>, Iterable<R>, MutinyDelegate
The execution result of the row set of a query provided as <R>, commonly used as a RowSet<Row>. Using a collector query might provide a different result.

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

See Also:
  • RowSet
  • Field Details

    • __TYPE_ARG

      public static final TypeArg<RowSet> __TYPE_ARG
    • __typeArg_0

      public final TypeArg<R> __typeArg_0
  • Constructor Details

    • RowSet

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

      public RowSet(io.vertx.sqlclient.RowSet<R> delegate, TypeArg<R> typeArg_0)
    • RowSet

      public RowSet(Object delegate, TypeArg<R> typeArg_0)
  • Method Details

    • toMulti

      @CheckReturnValue public io.smallrye.mutiny.Multi<R> toMulti()
    • getDelegate

      public io.vertx.sqlclient.RowSet<R> 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
      Specified by:
      getDelegate in interface SqlResult<R>
      Returns:
      the delegate instance
    • iterator

      public RowIterator<R> iterator()
      Specified by:
      iterator in interface Iterable<R>
    • next

      public RowSet<R> next()
      Description copied from interface: SqlResult
      Return the next available result or null, e.g for a simple query that executed multiple queries or for a batch result.
      Specified by:
      next in interface SqlResult<R>
      Returns:
      the next available result or null if none is available
    • stream

      public Stream<R> stream()
      Returns:
      a stream of rows
    • rowDescriptor

      public RowDescriptor rowDescriptor()
      Specified by:
      rowDescriptor in interface SqlResult<R>
    • columnDescriptors

      public List<ColumnDescriptor> columnDescriptors()
      Get the column descriptors in the SqlResult.
      Specified by:
      columnDescriptors in interface SqlResult<R>
      Returns:
      the list of column descriptors
    • columnsNames

      public List<String> columnsNames()
      Get the names of columns in the SqlResult.
      Specified by:
      columnsNames in interface SqlResult<R>
      Returns:
      the list of names of columns.
    • property

      public <V> V property(PropertyKind<V> arg0)
      Get the specific property with the specified PropertyKind.
      Specified by:
      property in interface SqlResult<R>
      Type Parameters:
      V - the type of the property value
      Parameters:
      propertyKind - the unique object which is used to indicate which property of the execution result to fetch
      Returns:
      the value of the property
    • size

      public int size()
      Get the number of rows retrieved in the SqlResult.
      Specified by:
      size in interface SqlResult<R>
      Returns:
      the count of rows.
    • rowCount

      public int rowCount()
      Get the number of the affected rows in the operation to this SqlResult.
      Specified by:
      rowCount in interface SqlResult<R>
      Returns:
      the count of affected rows.
    • value

      public RowSet<R> value()
      Get the execution result value, the execution result type may vary such as a rowSet or even a string.
      Specified by:
      value in interface SqlResult<R>
      Returns:
      the result value
    • newInstance

      public static <R> RowSet<R> newInstance(io.vertx.sqlclient.RowSet<R> delegate)
      Creates a new instance of the RowSet.
    • newInstance

      public static <R> RowSet<R> newInstance(io.vertx.sqlclient.RowSet<R> delegate, TypeArg<R> typeArg_0)
      Creates a new instance of the RowSet.
    • 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