org.sourceforge.jxdbcon
Class ArrayResultSet
java.lang.Object
|
+--org.sourceforge.jxdbcon.AbstractResultSet
|
+--org.sourceforge.jxdbcon.AbstractResultSetRO
|
+--org.sourceforge.jxdbcon.AbstractRowsResultSet
|
+--org.sourceforge.jxdbcon.ArrayResultSet
- All Implemented Interfaces:
- ResultSet
- public class ArrayResultSet
- extends AbstractRowsResultSet
ArrayResultSet is a concrete immutable ResultSet where the data
is stored in a Java array.
- Version:
- $Revision: 1.10 $, $Date: 2002/03/16 01:26:07 $
- Author:
- Keve Müller
Methods inherited from class org.sourceforge.jxdbcon.AbstractRowsResultSet |
absolute, afterLast, beforeFirst, first, getRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, next, previous, relative |
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, 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 |
colNames
private String[] colNames
emptyRows
private static final Object[] emptyRows
rowData
private Object[] rowData
rsmeta
private ResultSetMetaData rsmeta
statement
private Statement statement
ArrayResultSet
public ArrayResultSet(ConversionContext resContext,
String[] colNames,
AbstractType[] resTypes)
throws SQLException
ArrayResultSet
public ArrayResultSet(ConversionContext resContext,
String[] colNames,
AbstractType[] resTypes,
Object[] rowData)
throws SQLException
close
public void close()
- Specified by:
close
in interface ResultSet
- Overrides:
close
in class AbstractRowsResultSet
- See Also:
AbstractRowsResultSet.close()
findColumn
public int findColumn(String columnName)
throws SQLException
- Description copied from class:
AbstractResultSet
- Find a column by name.
Extending classes should override this method.
This implementation iterates over the ResultSetMetaData object
returned by getMetaData.
- Specified by:
findColumn
in interface ResultSet
- Overrides:
findColumn
in class AbstractResultSet
SQLException
getCursorName
public String getCursorName()
getMetaData
public ResultSetMetaData getMetaData()
getStatement
public final Statement getStatement()
makeIterator
public ListIterator makeIterator()
- Description copied from class:
AbstractRowsResultSet
- Make the iterator.
- Specified by:
makeIterator
in class AbstractRowsResultSet
- Returns:
- The iterator.
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.