Interface SqlResult<T>

Type Parameters:
T - the execution result type
All Superinterfaces:
MutinyDelegate
All Known Implementing Classes:
RowSet, SqlResult.SqlResultImpl

public interface SqlResult<T> extends MutinyDelegate
An interface that represents the execution result of an operation on the database server.

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

See Also:
  • SqlResult
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the column descriptors in the SqlResult.
    Get the names of columns in the SqlResult.
    io.vertx.sqlclient.SqlResult
     
    static <T> SqlResult<T>
    newInstance(io.vertx.sqlclient.SqlResult<T> delegate)
    Creates a new instance of the SqlResult.
    static <T> SqlResult<T>
    newInstance(io.vertx.sqlclient.SqlResult<T> delegate, TypeArg<T> typeArg_0)
    Creates a new instance of the SqlResult.
    Return the next available result or null, e.g for a simple query that executed multiple queries or for a batch result.
    <V> V
    property(PropertyKind<V> propertyKind)
    Get the specific property with the specified PropertyKind.
    int
    Get the number of the affected rows in the operation to this SqlResult.
     
    int
    Get the number of rows retrieved in the SqlResult.
    Get the execution result value, the execution result type may vary such as a rowSet or even a string.
  • Method Details

    • getDelegate

      io.vertx.sqlclient.SqlResult getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • rowCount

      int rowCount()
      Get the number of the affected rows in the operation to this SqlResult.
      Returns:
      the count of affected rows.
    • rowDescriptor

      RowDescriptor rowDescriptor()
    • columnsNames

      List<String> columnsNames()
      Get the names of columns in the SqlResult.
      Returns:
      the list of names of columns.
    • columnDescriptors

      List<ColumnDescriptor> columnDescriptors()
      Get the column descriptors in the SqlResult.
      Returns:
      the list of column descriptors
    • size

      int size()
      Get the number of rows retrieved in the SqlResult.
      Returns:
      the count of rows.
    • property

      <V> V property(PropertyKind<V> propertyKind)
      Get the specific property with the specified PropertyKind.
      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
    • value

      T value()
      Get the execution result value, the execution result type may vary such as a rowSet or even a string.
      Returns:
      the result value
    • next

      SqlResult<T> next()
      Return the next available result or null, e.g for a simple query that executed multiple queries or for a batch result.
      Returns:
      the next available result or null if none is available
    • newInstance

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

      static <T> SqlResult<T> newInstance(io.vertx.sqlclient.SqlResult<T> delegate, TypeArg<T> typeArg_0)
      Creates a new instance of the SqlResult.