org.sourceforge.jxdbcon
Class AbstractRowsResultSet
java.lang.Object
|
+--org.sourceforge.jxdbcon.AbstractResultSet
|
+--org.sourceforge.jxdbcon.AbstractResultSetRO
|
+--org.sourceforge.jxdbcon.AbstractRowsResultSet
- All Implemented Interfaces:
- ResultSet
- Direct Known Subclasses:
- ArrayResultSet, PGPlainResultSet
- public abstract class AbstractRowsResultSet
- extends AbstractResultSetRO
AbstractRowsResultSet defines a ResultSet over data accessed via a
ListIterator.
- Version:
- $Revision: 1.11 $, $Date: 2002/04/13 16:45:46 $
- Author:
- Keve Müller
Methods inherited from class org.sourceforge.jxdbcon.AbstractResultSetRO |
cancelRowUpdates, deleteRow, getConcurrency, insertRow, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp |
Methods inherited from class org.sourceforge.jxdbcon.AbstractResultSet |
clearWarnings, finalize, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getContext, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getType, getURL, getURL, getWarnings, setFetchDirection, setFetchSize, wasNull |
iter
protected ListIterator iter
- The listiterator that produces the rows.
last
private Object last
AbstractRowsResultSet
public AbstractRowsResultSet(ConversionContext resContext,
AbstractType[] resTypes)
- Construct a rows ResultSet using the given ConversionContext and
the columns' types.
- Parameters:
resContext
- the context to useresTypes
- the columns' types
absolute
public boolean absolute(int row)
throws SQLException
SQLException
afterLast
public void afterLast()
throws SQLException
SQLException
beforeFirst
public void beforeFirst()
throws SQLException
SQLException
close
public void close()
- Specified by:
close
in interface ResultSet
- Overrides:
close
in class AbstractResultSet
- See Also:
close()
first
public boolean first()
throws SQLException
SQLException
getRow
public int getRow()
throws SQLException
SQLException
isAfterLast
public boolean isAfterLast()
throws SQLException
SQLException
isBeforeFirst
public boolean isBeforeFirst()
throws SQLException
SQLException
- See Also:
isBeforeFirst()
isFirst
public boolean isFirst()
throws SQLException
SQLException
isLast
public boolean isLast()
throws SQLException
- FIXME: This is broken for empty sets, does not return false.
SQLException
last
public boolean last()
throws SQLException
SQLException
makeIterator
protected abstract ListIterator makeIterator()
- Make the iterator.
- Returns:
- The iterator.
next
public boolean next()
throws SQLException
SQLException
previous
public boolean previous()
throws SQLException
SQLException
relative
public boolean relative(int rows)
throws SQLException
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.