public abstract class SelectQueryResult extends QueryResult
Constructor and Description |
---|
SelectQueryResult() |
Modifier and Type | Method and Description |
---|---|
MySQLColumnInformation[] |
getColumnInformation() |
String |
getMessage() |
ResultSetType |
getResultSetType() |
int |
getRowPointer()
gets the current row number
|
abstract ValueObject |
getValueObject(int index)
gets the value object at position index, starts at 0
|
short |
getWarnings() |
abstract boolean |
isAfterLast() |
abstract boolean |
isBeforeFirst() |
void |
moveRowPointerTo(int i)
moves the row pointer to position i
|
abstract boolean |
next() |
close, getRows, isClosed
public MySQLColumnInformation[] getColumnInformation()
getColumnInformation
in class QueryResult
public short getWarnings()
getWarnings
in class QueryResult
public String getMessage()
getMessage
in class QueryResult
public ResultSetType getResultSetType()
getResultSetType
in class QueryResult
public void moveRowPointerTo(int i) throws SQLException
i
- pointer to moveSQLException
- sql feature not supportedpublic int getRowPointer() throws SQLException
SQLException
- sql feature not supportedpublic abstract ValueObject getValueObject(int index) throws NoSuchColumnException
index
- the position, starts at 0NoSuchColumnException
- if the column does not existpublic abstract boolean next() throws IOException, QueryException
IOException
QueryException
public abstract boolean isBeforeFirst()
public abstract boolean isAfterLast()
Copyright © 2015. All rights reserved.