| Constructor and Description |
|---|
BinaryRowPacket(ColumnInformation[] columnInformation,
Options options,
int columnInformationLength)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendPacketIfNeeded(Buffer buffer,
ReadPacketFetcher packetFetcher)
Fetch stream to retrieve data.
|
void |
appendPacketIfNeeded(Buffer buffer,
ReadPacketFetcher packetFetcher,
long encLength)
Fetch stream to retrieve data.
|
ValueObject[] |
getRow(ReadPacketFetcher packetFetcher,
Buffer buffer)
Get next row data.
|
public BinaryRowPacket(ColumnInformation[] columnInformation, Options options, int columnInformationLength)
columnInformation - column information.options - optionscolumnInformationLength - number of columnspublic void appendPacketIfNeeded(Buffer buffer, ReadPacketFetcher packetFetcher) throws IOException
buffer - bufferpacketFetcher - packetFetcherIOException - if a connection error occurpublic void appendPacketIfNeeded(Buffer buffer, ReadPacketFetcher packetFetcher, long encLength) throws IOException
buffer - readerpacketFetcher - packetFetcherencLength - data binary lengthIOException - if a connection error occurpublic ValueObject[] getRow(ReadPacketFetcher packetFetcher, Buffer buffer) throws IOException
getRow in interface RowPacketpacketFetcher - packetFetcherbuffer - current bufferIOException - if any connection error occurCopyright © 2016. All rights reserved.