Package org.mariadb.r2dbc.codec
Class TextRowDecoder
- java.lang.Object
-
- org.mariadb.r2dbc.codec.RowDecoder
-
- org.mariadb.r2dbc.codec.TextRowDecoder
-
public class TextRowDecoder 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 TextRowDecoder(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)voidsetPosition(int newIndex)Set length and pos indicator to asked index.-
Methods inherited from class org.mariadb.r2dbc.codec.RowDecoder
noDecoderException, resetRow
-
-
-
-
Constructor Detail
-
TextRowDecoder
public TextRowDecoder(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
-
setPosition
public void setPosition(int newIndex)
Set length and pos indicator to asked index.- Specified by:
setPositionin classRowDecoder- Parameters:
newIndex- index (0 is first).
-
-