public class BinaryRowProtocol extends RowProtocol
buf, index, length, maxFieldSize, NULL_LENGTH, pos| Constructor and Description |
|---|
BinaryRowProtocol(ColumnInformation[] columnInformation,
int columnInformationLength,
int maxFieldSize)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
setPosition(int newIndex)
Set length and pos indicator to asked index.
|
getLengthMaxFieldSize, getMaxFieldSize, resetRowpublic BinaryRowProtocol(ColumnInformation[] columnInformation, int columnInformationLength, int maxFieldSize)
columnInformation - column information.columnInformationLength - number of columnsmaxFieldSize - max field sizepublic boolean setPosition(int newIndex)
setPosition in class RowProtocolnewIndex - index (0 is first).Copyright © 2017. All rights reserved.