public class ColumnNameR2dbcResultReader extends java.lang.Object implements ResultReader<io.r2dbc.spi.Row,java.lang.String>
ResultReader for R2DBC.| Constructor and Description | 
|---|
ColumnNameR2dbcResultReader()  | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
getRequiredValue(io.r2dbc.spi.Row resultSet,
                java.lang.String name,
                java.lang.Class<T> type)
Get a value from the given result set for the given name and type. 
 | 
boolean | 
next(io.r2dbc.spi.Row resultSet)
Move the index to the next result if possible. 
 | 
java.math.BigDecimal | 
readBigDecimal(io.r2dbc.spi.Row resultSet,
              java.lang.String name)
Read a BigDecimal value for the given name. 
 | 
boolean | 
readBoolean(io.r2dbc.spi.Row resultSet,
           java.lang.String name)
Read a boolean value for the given name. 
 | 
byte | 
readByte(io.r2dbc.spi.Row resultSet,
        java.lang.String name)
Read a byte value for the given name. 
 | 
byte[] | 
readBytes(io.r2dbc.spi.Row resultSet,
         java.lang.String name)
Read a byte[] value for the given name. 
 | 
char | 
readChar(io.r2dbc.spi.Row resultSet,
        java.lang.String name)
Read a char value for the given name. 
 | 
java.util.Date | 
readDate(io.r2dbc.spi.Row resultSet,
        java.lang.String name)
Read a date value for the given name. 
 | 
double | 
readDouble(io.r2dbc.spi.Row resultSet,
          java.lang.String name)
Read a double value for the given name. 
 | 
java.lang.Object | 
readDynamic(io.r2dbc.spi.Row resultSet,
           java.lang.String index,
           DataType dataType)
Read a value dynamically using the result set and the given name and data type. 
 | 
float | 
readFloat(io.r2dbc.spi.Row resultSet,
         java.lang.String name)
Read a float value for the given name. 
 | 
int | 
readInt(io.r2dbc.spi.Row resultSet,
       java.lang.String name)
Read a int value for the given name. 
 | 
long | 
readLong(io.r2dbc.spi.Row resultSet,
        java.lang.String name)
Read a long value for the given name. 
 | 
short | 
readShort(io.r2dbc.spi.Row resultSet,
         java.lang.String name)
Read a short value for the given name. 
 | 
java.lang.String | 
readString(io.r2dbc.spi.Row resultSet,
          java.lang.String name)
Read a string value for the given name. 
 | 
java.util.Date | 
readTimestamp(io.r2dbc.spi.Row resultSet,
             java.lang.String index)
Read a timestamp value for the given index. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertRequired, convertRequired, readUUID@Nullable
public java.lang.Object readDynamic(@NonNull
                                              io.r2dbc.spi.Row resultSet,
                                              @NonNull
                                              java.lang.String index,
                                              @NonNull
                                              DataType dataType)
ResultReaderreadDynamic in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setindex - The namedataType - The data typepublic long readLong(io.r2dbc.spi.Row resultSet,
                     java.lang.String name)
ResultReaderreadLong in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public char readChar(io.r2dbc.spi.Row resultSet,
                     java.lang.String name)
ResultReaderreadChar in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public java.util.Date readDate(io.r2dbc.spi.Row resultSet,
                               java.lang.String name)
ResultReaderreadDate in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public java.util.Date readTimestamp(io.r2dbc.spi.Row resultSet,
                                    java.lang.String index)
ResultReaderreadTimestamp in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setindex - The index (such as the column name)@Nullable
public java.lang.String readString(io.r2dbc.spi.Row resultSet,
                                             java.lang.String name)
ResultReaderreadString in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public int readInt(io.r2dbc.spi.Row resultSet,
                   java.lang.String name)
ResultReaderreadInt in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public boolean readBoolean(io.r2dbc.spi.Row resultSet,
                           java.lang.String name)
ResultReaderreadBoolean in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public float readFloat(io.r2dbc.spi.Row resultSet,
                       java.lang.String name)
ResultReaderreadFloat in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public byte readByte(io.r2dbc.spi.Row resultSet,
                     java.lang.String name)
ResultReaderreadByte in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public short readShort(io.r2dbc.spi.Row resultSet,
                       java.lang.String name)
ResultReaderreadShort in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public double readDouble(io.r2dbc.spi.Row resultSet,
                         java.lang.String name)
ResultReaderreadDouble in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public java.math.BigDecimal readBigDecimal(io.r2dbc.spi.Row resultSet,
                                           java.lang.String name)
ResultReaderreadBigDecimal in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)public byte[] readBytes(io.r2dbc.spi.Row resultSet,
                        java.lang.String name)
ResultReaderreadBytes in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result setname - The name (such as the column name)@Nullable
public <T> T getRequiredValue(io.r2dbc.spi.Row resultSet,
                                        java.lang.String name,
                                        java.lang.Class<T> type)
                                 throws DataAccessException
ResultReadergetRequiredValue in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>T - The generic typeresultSet - The result setname - The nametype - The typeDataAccessException - if the value cannot be readpublic boolean next(io.r2dbc.spi.Row resultSet)
ResultReadernext in interface ResultReader<io.r2dbc.spi.Row,java.lang.String>resultSet - The result set