public class InMemoryResultSet extends AbstractResultSet
| Constructor and Description |
|---|
InMemoryResultSet(java.sql.ResultSet rs)
create a new InMemoryResultSet populating it from
an existing ResultSet
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close this result set
|
byte[] |
getBytes(int columnIdx)
return the column as a byte array
|
int |
getInt(int columnIdx)
return the column as a integer
|
java.sql.ResultSetMetaData |
getMetaData() |
java.lang.Object |
getObject(int columnIdx)
return the column as an object
|
int |
getRow()
return the current (java.sql 1-based) row number of this result set
|
short |
getShort(int columnIdx)
return the column as a short
|
java.lang.String |
getString(int columnIdx)
return the column as a string
|
boolean |
isClosed()
is this result set closed
|
boolean |
next()
indicate if there are any more objects in this result set
|
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getHoldability, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getStatement, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullpublic InMemoryResultSet(java.sql.ResultSet rs)
throws java.sql.SQLException
rs - java.sql.SQLExceptionpublic boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetnext in class AbstractResultSetjava.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.ResultSetclose in class AbstractResultSetjava.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
isClosed in interface java.sql.ResultSetisClosed in class AbstractResultSetjava.sql.SQLExceptionpublic int getRow()
throws java.sql.SQLException
getRow in interface java.sql.ResultSetgetRow in class AbstractResultSetjava.sql.SQLExceptionpublic java.lang.Object getObject(int columnIdx)
throws java.sql.SQLException
getObject in interface java.sql.ResultSetgetObject in class AbstractResultSetjava.sql.SQLExceptionpublic java.lang.String getString(int columnIdx)
throws java.sql.SQLException
getString in interface java.sql.ResultSetgetString in class AbstractResultSetjava.sql.SQLExceptionpublic short getShort(int columnIdx)
throws java.sql.SQLException
getShort in interface java.sql.ResultSetgetShort in class AbstractResultSetjava.sql.SQLExceptionpublic int getInt(int columnIdx)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetgetInt in class AbstractResultSetjava.sql.SQLExceptionpublic byte[] getBytes(int columnIdx)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetgetBytes in class AbstractResultSetjava.sql.SQLExceptionpublic java.sql.ResultSetMetaData getMetaData()
getMetaData in interface java.sql.ResultSetgetMetaData in class AbstractResultSet