public class CachedSelectResult extends SelectQueryResult
| Modifier and Type | Field and Description |
|---|---|
protected short |
warningCount |
| Constructor and Description |
|---|
CachedSelectResult(MySQLColumnInformation[] ci,
List<ValueObject[]> result,
short warningCount) |
| Modifier and Type | Method and Description |
|---|---|
static CachedSelectResult |
createCachedSelectResult(StreamingSelectResult streamingResult) |
MySQLColumnInformation[] |
getColumnInformation() |
String |
getMessage() |
ResultSetType |
getResultSetType() |
int |
getRowPointer()
gets the current row number
|
int |
getRows() |
ValueObject |
getValueObject(int i)
gets the value at position i in the result set.
|
short |
getWarnings() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
void |
moveRowPointerTo(int i)
moves the row pointer to position i
|
boolean |
next() |
close, isClosedpublic CachedSelectResult(MySQLColumnInformation[] ci, List<ValueObject[]> result, short warningCount)
public static CachedSelectResult createCachedSelectResult(StreamingSelectResult streamingResult) throws IOException, QueryException
IOExceptionQueryExceptionpublic boolean next()
throws IOException,
QueryException
next in class SelectQueryResultIOExceptionQueryExceptionpublic short getWarnings()
getWarnings in class SelectQueryResultpublic String getMessage()
getMessage in class SelectQueryResultpublic MySQLColumnInformation[] getColumnInformation()
getColumnInformation in class SelectQueryResultpublic 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 void moveRowPointerTo(int i)
SelectQueryResultmoveRowPointerTo in class SelectQueryResulti - the positionpublic int getRowPointer()
SelectQueryResultgetRowPointer in class SelectQueryResultpublic ResultSetType getResultSetType()
getResultSetType in class SelectQueryResultpublic boolean isBeforeFirst()
isBeforeFirst in class SelectQueryResultpublic boolean isAfterLast()
isAfterLast in class SelectQueryResultCopyright © 2014. All rights reserved.