public class StreamingSelectResult extends SelectQueryResult
| Modifier and Type | Field and Description |
|---|---|
ValueObject[] |
values |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static StreamingSelectResult |
createStreamingSelectResult(ResultSetPacket packet,
PacketFetcher packetFetcher,
MySQLProtocol protocol) |
int |
getRows() |
ValueObject |
getValueObject(int i)
gets the value at position i in the result set. i starts at zero!
|
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
next() |
getColumnInformation, getMessage, getResultSetType, getRowPointer, getWarnings, moveRowPointerToisClosedpublic ValueObject[] values
public static StreamingSelectResult createStreamingSelectResult(ResultSetPacket packet, PacketFetcher packetFetcher, MySQLProtocol protocol) throws IOException, QueryException
packet - the result set packet from the serverpacketFetcher - packetfetcherprotocol - the current connection protocol classIOException - when something goes wrong while reading/writing from the serverQueryException - if there is an actual active result on the current connectionpublic boolean next()
throws IOException,
QueryException
next in class SelectQueryResultIOExceptionQueryExceptionpublic void close()
close in class QueryResultpublic ValueObject getValueObject(int i) throws NoSuchColumnException
getValueObject in class SelectQueryResulti - index, starts at 0NoSuchColumnException - if the column does not existpublic int getRows()
getRows in class QueryResultpublic boolean isBeforeFirst()
isBeforeFirst in class SelectQueryResultpublic boolean isAfterLast()
isAfterLast in class SelectQueryResultCopyright © 2015. All rights reserved.