public abstract class SelectQueryResult extends AbstractQueryResult
isClosed, prepareResult
Constructor and Description |
---|
SelectQueryResult() |
Modifier and Type | Method and Description |
---|---|
ColumnInformation[] |
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 index)
Moves the row pointer to position i.
|
abstract boolean |
next()
Move pointer forward.
|
addResult, close, getFailureObject, getRows, isClosed, setFailureObject
public ColumnInformation[] getColumnInformation()
getColumnInformation
in class AbstractQueryResult
public short getWarnings()
getWarnings
in class AbstractQueryResult
public String getMessage()
getMessage
in class AbstractQueryResult
public ResultSetType getResultSetType()
getResultSetType
in class AbstractQueryResult
public void moveRowPointerTo(int index) throws SQLException
index
- 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
- ioExceptionQueryException
- queryExceptionpublic abstract boolean isBeforeFirst()
public abstract boolean isAfterLast()
Copyright © 2015. All rights reserved.