Top Description Methods
io.r2dbc.spi

public Interface Row

extends Readable
Imports
java.util.function.BiFunction

Represents a row returned from a database query. Values from columns can be either retrieved by specifying a column name or the column index. Column indexes are 0-based. Column names do not necessarily reflect the column names how they are in the underlying tables but rather how columns are represented (e.g. aliased) in the result.

Column names used as input to getter methods are case-insensitive. When a get method is called with a column name and several columns have the same name, then the value of the first matching column will be returned. The column name option is designed to be used when column names are used in the SQL query that generated the result set. Columns that are not explicitly named in the query should be referenced through column indexes.

For maximum portability, result columns within each Row should be read in left-to-right order, and each column should be read only once.

get(String) and get(int) without specifying a target type returns a suitable value representation. The R2DBC specification contains a mapping table that shows default mappings between database types and Java types. Specifying a target type, the R2DBC driver attempts to convert the value to the target type.

A row is invalidated after consumption in the mapping function.

The number, type and characteristics of columns are described through RowMetadata

Method Summary

Modifier and TypeMethod and Description
public RowMetadata

Returns:

the RowMetadata for all columns in this row
getMetadata
()

Returns the RowMetadata for all columns in this row.

Inherited from io.r2dbc.spi.Readable:
getgetgetget

Method Detail

getMetadataback to summary
public RowMetadata getMetadata()

Returns the RowMetadata for all columns in this row.

Returns:RowMetadata

the RowMetadata for all columns in this row

Since
0.9