public class ColumnNameR2dbcResultReader
extends java.lang.Object
implements io.micronaut.data.runtime.mapper.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) |
boolean |
next(io.r2dbc.spi.Row resultSet) |
java.math.BigDecimal |
readBigDecimal(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
boolean |
readBoolean(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
byte |
readByte(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
byte[] |
readBytes(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
char |
readChar(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
java.util.Date |
readDate(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
double |
readDouble(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
float |
readFloat(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
int |
readInt(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
long |
readLong(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
short |
readShort(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
java.lang.String |
readString(io.r2dbc.spi.Row resultSet,
java.lang.String name) |
java.util.Date |
readTimestamp(io.r2dbc.spi.Row resultSet,
java.lang.String index) |
public long readLong(io.r2dbc.spi.Row resultSet, java.lang.String name)
readLong
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public char readChar(io.r2dbc.spi.Row resultSet, java.lang.String name)
readChar
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public java.util.Date readDate(io.r2dbc.spi.Row resultSet, java.lang.String name)
readDate
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public java.util.Date readTimestamp(io.r2dbc.spi.Row resultSet, java.lang.String index)
readTimestamp
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
@Nullable public java.lang.String readString(io.r2dbc.spi.Row resultSet, java.lang.String name)
readString
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public int readInt(io.r2dbc.spi.Row resultSet, java.lang.String name)
readInt
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public boolean readBoolean(io.r2dbc.spi.Row resultSet, java.lang.String name)
readBoolean
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public float readFloat(io.r2dbc.spi.Row resultSet, java.lang.String name)
readFloat
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public byte readByte(io.r2dbc.spi.Row resultSet, java.lang.String name)
readByte
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public short readShort(io.r2dbc.spi.Row resultSet, java.lang.String name)
readShort
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public double readDouble(io.r2dbc.spi.Row resultSet, java.lang.String name)
readDouble
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public java.math.BigDecimal readBigDecimal(io.r2dbc.spi.Row resultSet, java.lang.String name)
readBigDecimal
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
public byte[] readBytes(io.r2dbc.spi.Row resultSet, java.lang.String name)
readBytes
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
@Nullable public <T> T getRequiredValue(io.r2dbc.spi.Row resultSet, java.lang.String name, java.lang.Class<T> type) throws io.micronaut.data.exceptions.DataAccessException
getRequiredValue
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>
io.micronaut.data.exceptions.DataAccessException
public boolean next(io.r2dbc.spi.Row resultSet)
next
in interface io.micronaut.data.runtime.mapper.ResultReader<io.r2dbc.spi.Row,java.lang.String>