Class com.imaginary.sql.msql.MsqlEmptyResultSet
java.lang.Object
|
+--com.imaginary.sql.msql.MsqlResultSet
|
+--com.imaginary.sql.msql.MsqlEmptyResultSet
- public class MsqlEmptyResultSet
- extends MsqlResultSet
The MsqlEmptyResultSet class implements the JDBC ResultSet interface for
fake result sets with no data.
Last modified $Date: 1999/07/06 05:56:04 $
- Version:
- $Revision: 1.6 $
- Author:
- George Reese (borg@imaginary.com)
Methods inherited from class com.imaginary.sql.msql.MsqlResultSet |
afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, complete, deleteRow, first, getArray, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getEncoding, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getStatement, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUpdate, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, last, moveToCurrentRow, moveToInsertRow, refreshRow, rowDeleted, rowInserted, rowUpdated, setColumn, setFetchDirection, setFetchSize, setType, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
absolute
public boolean absolute(int row)
throws java.sql.SQLException
findColumn
public int findColumn(java.lang.String name)
throws java.sql.SQLException
- Parameters:
name
- the name of the desired column- Returns:
- the column number for the specified column name
- Throws:
- java.sql.SQLException - thrown on a read error
getAsciiStream
public java.io.InputStream getAsciiStream(int column)
throws java.sql.SQLException
- Parameters:
column
- the column number for the desired column- Returns:
- never
- Throws:
- java.sql.SQLException - thrown when the columb cannot be read
getBinaryStream
public java.io.InputStream getBinaryStream(int column)
throws java.sql.SQLException
getBoolean
public boolean getBoolean(int column)
throws java.sql.SQLException
getByte
public byte getByte(int column)
throws java.sql.SQLException
getBytes
public byte[] getBytes(int column)
throws java.sql.SQLException
getMetaData
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getRow
public int getRow()
throws java.sql.SQLException
getString
public java.lang.String getString(int column)
throws java.sql.SQLException
getUnicodeStream
public java.io.InputStream getUnicodeStream(int column)
throws java.sql.SQLException
- Deprecated.
isLast
public boolean isLast()
throws java.sql.SQLException
next
public boolean next()
throws java.sql.SQLException
- Moves to the next row of data for processing. If there are no
more rows to be processed, then it will return false.
- Returns:
- true if there are results to be processed, false otherwise
- Throws:
- java.sql.SQLException - thrown if a read error occurs
previous
public boolean previous()
throws java.sql.SQLException
relative
public boolean relative(int count)
throws java.sql.SQLException
wasNull
public boolean wasNull()
throws java.sql.SQLException
- Returns:
- true if the last value read was null
- Throws:
- java.sql.SQLException - never thrown