getRowsUpdated(), map(BiFunction), or map(Function).
A Result object maintains a consumption state that may be backed by a cursor pointing
to its current row of data or out parameters. A Result allows read-only and forward-only consumption of statement results.
Thus, you can consume either getRowsUpdated(), Rows, or Rows or out parameters through it only once and only from the first to the last
row/parameter set.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | Result.Message
Message segment reported as result of the statement processing. |
| public static interface | Result.OutSegment
Out parameters segment consisting of |
| public static interface | Result.RowSegment
Row segment consisting of |
| public static interface | Result.Segment
Marker interface for a result segment. |
| public static interface | Result.UpdateCount
Update count segment consisting providing a |
| Modifier and Type | Method and Description |
|---|---|
| public Result | |
| public < the type of the mapped value T> Publisher | |
| public Publisher | Returns: the number of rows updated by a query against a databaseReturns the number of rows updated by a query against a database. |
| public < the type of the mapped value T> Publisher | Returns: a mapping of the rows that are the results of a query against a databaseReturns a mapping of the rows that are the results of a query against a database. |
| public default < the type of the mapped value T> Publisher |
| filter | back to summary |
|---|---|
| public Result filter(Predicate<Result. Returns a filtered variant of the The returned
| |
| flatMap | back to summary |
|---|---|
| public <T> Publisher Returns a mapping of the Consuming result Signals from mapped
| |
| getRowsUpdated | back to summary |
|---|---|
| public Publisher Returns the number of rows updated by a query against a database. May be empty if the query did not update any rows. Consuming the update count may emit an
| |
| map | back to summary |
|---|---|
| public <T> Publisher Returns a mapping of the rows that are the results of a query against a database. May be empty if the query did not return any rows. A Consuming data rows may emit an
| |
| map | back to summary |
|---|---|
| public default <T> Publisher Returns a mapping of the rows/out parameters that are the results of a query against a database. May be empty if the query did not return any results. A
| |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public R2dbcException | |
| public String | |
| public String |
| errorCode | back to summary |
|---|---|
| public int errorCode() Returns the vendor-specific error code.
| |
| exception | back to summary |
|---|---|
| public R2dbcException exception() Return the error as
| |
| message | back to summary |
|---|---|
| public String message() Returns the message text.
| |
| sqlState | back to summary |
|---|---|
| public String sqlState() Returns the SQLState. | |
readable data.
| Modifier and Type | Method and Description |
|---|---|
| public OutParameters |
| outParameters | back to summary |
|---|---|
| public OutParameters outParameters() | |
row data.
| row | back to summary |
|---|---|
| public Row row() | |
OUT parameters, and messages of varying severities. Segments can also represent vendor-specific extensions.
affected rows count.
| Modifier and Type | Method and Description |
|---|---|
| public long |
| value | back to summary |
|---|---|
| public long value() | |