All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.imaginary.sql.msql.MsqlEmptyResultSet

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/09 23:16:29 $

Version:
$Revision: 1.1.2.1.2.2 $
Author:
George Reese (borg@imaginary.com)

Method Index

 o absolute(int)
 o findColumn(String)
 o getAsciiStream(int)
 o getBinaryStream(int)
 o getBoolean(int)
 o getByte(int)
 o getBytes(int)
 o getMetaData()
 o getRow()
 o getString(int)
 o getUnicodeStream(int)
Deprecated.
 o isLast()
 o next()
Moves to the next row of data for processing.
 o previous()
 o relative(int)
 o wasNull()

Methods

 o absolute
 public boolean absolute(int row) throws SQLException
 o findColumn
 public int findColumn(String name) throws SQLException
Parameters:
name - the name of the desired column
Returns:
the column number for the specified column name
Throws: SQLException
thrown on a read error
 o getAsciiStream
 public InputStream getAsciiStream(int column) throws SQLException
Parameters:
column - the column number for the desired column
Returns:
never
Throws: SQLException
thrown when the columb cannot be read
 o getBinaryStream
 public InputStream getBinaryStream(int column) throws SQLException
 o getBoolean
 public boolean getBoolean(int column) throws SQLException
 o getByte
 public byte getByte(int column) throws SQLException
 o getBytes
 public byte[] getBytes(int column) throws SQLException
 o getMetaData
 public ResultSetMetaData getMetaData() throws SQLException
 o getRow
 public int getRow() throws SQLException
Overrides:
getRow in class MsqlResultSet
 o getString
 public synchronized String getString(int column) throws SQLException
 o getUnicodeStream
 public InputStream getUnicodeStream(int column) throws SQLException
Note: getUnicodeStream() is deprecated.

 o isLast
 public boolean isLast() throws SQLException
 o next
 public boolean next() throws 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: SQLException
thrown if a read error occurs
 o previous
 public boolean previous() throws SQLException
 o relative
 public boolean relative(int count) throws SQLException
 o wasNull
 public boolean wasNull() throws SQLException
Returns:
true if the last value read was null
Throws: SQLException
never thrown

All Packages  Class Hierarchy  This Package  Previous  Next  Index