public final class NbcRowToken extends RowToken
Note: PLP values are aggregated in a single ByteBuf and not yet streamed. This is to be fixed.
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canDecode(io.netty.buffer.ByteBuf buffer,
Column[] columns)
Check whether the
ByteBuf can be decoded into an entire NbcRowToken. |
static NbcRowToken |
decode(io.netty.buffer.ByteBuf buffer,
Column[] columns)
Decode a
NbcRowToken. |
io.netty.buffer.ByteBuf |
getColumnData(int index)
Returns the
data for the column at index. |
String |
getName() |
String |
toString() |
deallocate, getType, touchpublic static final byte TYPE
public static NbcRowToken decode(io.netty.buffer.ByteBuf buffer, Column[] columns)
NbcRowToken.buffer - the data buffer.columns - column descriptors.RowToken.public static boolean canDecode(io.netty.buffer.ByteBuf buffer,
Column[] columns)
ByteBuf can be decoded into an entire NbcRowToken.buffer - the data buffer.columns - column descriptors.true if the buffer contains sufficient data to entirely decode a row.public io.netty.buffer.ByteBuf getColumnData(int index)
RowTokendata for the column at index.getColumnData in class RowTokenindex - the column index.null if indicated by null-bit compression.public String getName()
Copyright © 2023. All rights reserved.