public class BinaryRowDecoder extends RowDecoder
buf, index, length, NULL_LENGTH| Constructor and Description |
|---|
BinaryRowDecoder(int columnNumber,
ColumnDefinitionPacket[] columns) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(int index,
ColumnDefinitionPacket column,
Class<T> type) |
void |
resetRow(io.netty.buffer.ByteBuf buf) |
void |
setPosition(int newIndex)
Set length and pos indicator to asked index.
|
noDecoderExceptionpublic BinaryRowDecoder(int columnNumber,
ColumnDefinitionPacket[] columns)
public <T> T get(int index,
ColumnDefinitionPacket column,
Class<T> type)
throws IllegalArgumentException
get in class RowDecoderIllegalArgumentExceptionpublic void resetRow(io.netty.buffer.ByteBuf buf)
resetRow in class RowDecoderpublic void setPosition(int newIndex)
setPosition in class RowDecodernewIndex - index (0 is first).Copyright © 2020 MariaDB Corporation Ab. All rights reserved.