Interface SqlResult


public interface SqlResult

The SQL result of a single SQL statement.

Depending on the nature of the statement operation, a SQL result might expose rows or the number of rows affected by the operation but not both.

Since:
1.2
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the row metadata describing the resulting rows if any.
    Returns the resulting rows.
    Returns the number of rows affected by the operation.
  • Method Details

    • getRowMetadata

      RowMetadata getRowMetadata()

      Returns the row metadata describing the resulting rows if any.

      Implementations might return null if row metadata are not available.

      Returns:
      row metadata or null
    • rowsUpdated

      Mono<Integer> rowsUpdated()

      Returns the number of rows affected by the operation.

      Returns:
      a Mono emitting the number of rows affected by the operation
    • rows

      Publisher<Row> rows()

      Returns the resulting rows.

      Returns:
      a publisher of rows