public abstract class RowDecoder extends Object
| Modifier and Type | Field and Description |
|---|---|
io.netty.buffer.ByteBuf |
buf |
protected int |
index |
protected int |
length |
protected static int |
NULL_LENGTH |
| Constructor and Description |
|---|
RowDecoder() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
get(int index,
ColumnDefinitionPacket column,
Class<T> type) |
protected IllegalArgumentException |
noDecoderException(ColumnDefinitionPacket column,
Class<?> type) |
void |
resetRow(io.netty.buffer.ByteBuf buf) |
abstract void |
setPosition(int position) |
protected static final int NULL_LENGTH
public io.netty.buffer.ByteBuf buf
protected int length
protected int index
public void resetRow(io.netty.buffer.ByteBuf buf)
protected IllegalArgumentException noDecoderException(ColumnDefinitionPacket column, Class<?> type)
public abstract void setPosition(int position)
public abstract <T> T get(int index,
ColumnDefinitionPacket column,
Class<T> type)
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2020 MariaDB Corporation Ab. All rights reserved.