Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

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)

Fields inherited from class com.imaginary.sql.msql.MsqlResultSet
log
 
Method Summary
boolean absolute(int row)
           
int findColumn(java.lang.String name)
           
java.io.InputStream getAsciiStream(int column)
           
java.io.InputStream getBinaryStream(int column)
           
boolean getBoolean(int column)
           
byte getByte(int column)
           
byte[] getBytes(int column)
           
java.sql.ResultSetMetaData getMetaData()
           
int getRow()
           
java.lang.String getString(int column)
           
java.io.InputStream getUnicodeStream(int column)
          Deprecated.  
boolean isLast()
           
boolean next()
          Moves to the next row of data for processing.
boolean previous()
           
boolean relative(int count)
           
boolean wasNull()
           
 
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
 

Method Detail

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD