SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

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.


Constructor Summary
SelectResult(Select sel, Connection conn, Statement stmnt, ResultSet rs, DBDictionary dict)
          Constructor.
 
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 kodo.jdbc.sql.AbstractResult
addBatchedResult, addProcessedData, checkNull, getBatchedResult, getProcessedData, isLocking, removeBatchedResult, removeProcessedData, setLocking
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectResult

public SelectResult(Select sel,
                    Connection conn,
                    Statement stmnt,
                    ResultSet rs,
                    DBDictionary dict)
Constructor.
Method Detail

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

SolarMetric Kodo JDO 3.1.6 generated on August 25 2004

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.