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