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)
-
absolute(int)
-
-
findColumn(String)
-
-
getAsciiStream(int)
-
-
getBinaryStream(int)
-
-
getBoolean(int)
-
-
getByte(int)
-
-
getBytes(int)
-
-
getMetaData()
-
-
getRow()
-
-
getString(int)
-
-
getUnicodeStream(int)
-
Deprecated.
-
isLast()
-
-
next()
- Moves to the next row of data for processing.
-
previous()
-
-
relative(int)
-
-
wasNull()
-
absolute
public boolean absolute(int row) throws SQLException
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
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
getBinaryStream
public InputStream getBinaryStream(int column) throws SQLException
getBoolean
public boolean getBoolean(int column) throws SQLException
getByte
public byte getByte(int column) throws SQLException
getBytes
public byte[] getBytes(int column) throws SQLException
getMetaData
public ResultSetMetaData getMetaData() throws SQLException
getRow
public int getRow() throws SQLException
- Overrides:
- getRow in class MsqlResultSet
getString
public synchronized String getString(int column) throws SQLException
getUnicodeStream
public InputStream getUnicodeStream(int column) throws SQLException
- Note: getUnicodeStream() is deprecated.
isLast
public boolean isLast() throws SQLException
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
previous
public boolean previous() throws SQLException
relative
public boolean relative(int count) throws SQLException
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