Package org.mariadb.r2dbc.codec
Class BinaryRowDecoder
- java.lang.Object
-
- org.mariadb.r2dbc.codec.RowDecoder
-
- org.mariadb.r2dbc.codec.BinaryRowDecoder
-
public class BinaryRowDecoder extends RowDecoder
-
-
Field Summary
-
Fields inherited from class org.mariadb.r2dbc.codec.RowDecoder
buf, conf, factory, index, length, NULL_LENGTH
-
-
Constructor Summary
Constructors Constructor Description BinaryRowDecoder(List<ColumnDefinitionPacket> columns, MariadbConnectionConfiguration conf, ExceptionFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(int index, ColumnDefinitionPacket column, Class<T> type)voidresetRow(io.netty.buffer.ByteBuf buf)voidsetPosition(int newIndex)Set length and pos indicator to asked index.-
Methods inherited from class org.mariadb.r2dbc.codec.RowDecoder
noDecoderException
-
-
-
-
Constructor Detail
-
BinaryRowDecoder
public BinaryRowDecoder(List<ColumnDefinitionPacket> columns, MariadbConnectionConfiguration conf, ExceptionFactory factory)
-
-
Method Detail
-
get
public <T> T get(int index, ColumnDefinitionPacket column, Class<T> type) throws IllegalArgumentException- Specified by:
getin classRowDecoder- Throws:
IllegalArgumentException
-
resetRow
public void resetRow(io.netty.buffer.ByteBuf buf)
- Overrides:
resetRowin classRowDecoder
-
setPosition
public void setPosition(int newIndex)
Set length and pos indicator to asked index.- Specified by:
setPositionin classRowDecoder- Parameters:
newIndex- index (0 is first).
-
-