kodo.jdbc.sql
Class SelectResult
java.lang.Object
|
+--kodo.jdbc.sql.AbstractResult
|
+--kodo.jdbc.sql.ResultSetResult
|
+--kodo.jdbc.sql.SelectResult
- All Implemented Interfaces:
- com.solarmetric.util.Closeable, Result
- public class SelectResult
- extends ResultSetResult
Specialized Result implementation for the results of
Selects.
|
Method Summary |
boolean |
absolute(int row)
Throws an exception by default. |
boolean |
contains(Object obj)
Return true if the given column or id is available in the result. |
protected int |
findObject(Object obj)
Return the 1-based result set index for the given column or id, or a
non-positive number if the column is not contained in this result. |
Select |
getSelect()
|
boolean |
next()
Advance to the next row, or return false if there are no more rows
in the result. |
| Methods inherited from class kodo.jdbc.sql.ResultSetResult |
close, getAlias, getArray, getAsciiStream, getBigDecimal, getBigInteger, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getChar, getCharacterStream, getClob, getCloseConnection, getDate, getDate, getDBDictionary, getDouble, getFloat, getInt, getLocale, getLong, getObject, getObject, getRef, getResultSet, getShort, getStatement, getString, getTime, getTimestamp, setCloseConnection, size, supportsRandomAccess, wasNull |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectResult
public SelectResult(Select sel,
Connection conn,
Statement stmnt,
ResultSet rs,
DBDictionary dict)
- Constructor.
contains
public boolean contains(Object obj)
- Description copied from interface:
Result
- Return true if the given column or id is available in the result.
- Overrides:
contains in class ResultSetResult
getSelect
public Select getSelect()
absolute
public boolean absolute(int row)
throws SQLException
- Description copied from class:
AbstractResult
- Throws an exception by default.
- Overrides:
absolute in class ResultSetResult
next
public boolean next()
throws SQLException
- Description copied from interface:
Result
- Advance to the next row, or return false if there are no more rows
in the result.
- Overrides:
next in class ResultSetResult
findObject
protected int findObject(Object obj)
throws SQLException
- Description copied from class:
ResultSetResult
- Return the 1-based result set index for the given column or id, or a
non-positive number if the column is not contained in this result.
- Overrides:
findObject in class ResultSetResult
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.