    All Packages    This Package  Previous  Next

# Class sqlj.runtime.profile.ref.RTResultSetWrapper

    java.lang.Object
       |
       +----sqlj.runtime.profile.ref.RTResultSetWrapper

public class RTResultSetWrapper
extends Object
implements RTResultSet

This class is the superclass of all classes that augment the functionality of runtime result sets. These result sets sit on top of (wrap) an already existing result set (the underlying result set), but provide additional functionality.

The class RTResultSetWrapper itself overrides all methods of RTResultSet with versions that pass all requests to the underlying result set. Subclasses of RTResultSetWrapper may further override some of these methods as well as provide additional methods and fields.

##

rs
  The underlying result set.

##

RTResultSetWrapper(RTResultSet)
  Creates a result set wrapper built on top of the specified result set.

##

close()
  Makes a call to method `close` on the underlying result set.
findColumn(String)
  Returns the result of calling method `findColumn` on the underlying result set.
getAsciiStreamWrapper(int)
  Returns the result of calling method `getAsciiStreamWrapper` on the underlying result set.
getBigDecimal(int)
  Returns the result of calling method `getBigDecimal` on the underlying result set.
getBinaryStreamWrapper(int)
  Returns the result of calling method `getBinaryStreamWrapper` on the underlying result set.
getBooleanNoNull(int)
  Returns the result of calling method `getBooleanNoNull` on the underlying result set.
getBooleanWrapper(int)
  Returns the result of calling method `getBooleanWrapper` on the underlying result set.
getByteNoNull(int)
  Returns the result of calling method `getByteNoNull` on the underlying result set.
getBytes(int)
  Returns the result of calling method `getBytes` on the underlying result set.
getByteWrapper(int)
  Returns the result of calling method `getByteWrapper` on the underlying result set.
getColumnCount()
  Returns the result of calling method `getColumnCount` on the underlying result set.
getCursorName()
  Returns the result of calling method `getCursorName` on the underlying result set.
getDate(int)
  Returns the result of calling method `getDate` on the underlying result set.
getDoubleNoNull(int)
  Returns the result of calling method `getDoubleNoNull` on the underlying result set.
getDoubleWrapper(int)
  Returns the result of calling method `getDoubleWrapper` on the underlying result set.
getFloatNoNull(int)
  Returns the result of calling method `getFloatNoNull` on the underlying result set.
getFloatWrapper(int)
  Returns the result of calling method `getFloatWrapper` on the underlying result set.
getIntNoNull(int)
  Returns the result of calling method `getIntNoNull` on the underlying result set.
getIntWrapper(int)
  Returns the result of calling method `getIntWrapper` on the underlying result set.
getJDBCResultSet()
  Returns the result of calling method `getJDBCResultSet` on the underlying result set.
getLongNoNull(int)
  Returns the result of calling method `getLongNoNull` on the underlying result set.
getLongWrapper(int)
  Returns the result of calling method `getLongWrapper` on the underlying result set.
getObject(int, Class)
  Returns the result of calling method `getObject` on the underlying result set.
getShortNoNull(int)
  Returns the result of calling method `getShortNoNull` on the underlying result set.
getShortWrapper(int)
  Returns the result of calling method `getShortWrapper` on the underlying result set.
getString(int)
  Returns the result of calling method `getString` on the underlying result set.
getTime(int)
  Returns the result of calling method `getTime` on the underlying result set.
getTimestamp(int)
  Returns the result of calling method `getTimestamp` on the underlying result set.
getUnicodeStreamWrapper(int)
  Returns the result of calling method `getUnicodeStreamWrapper` on the underlying result set.
getWrappedRTResultSet()
  Returns the underlying result set to which all method implementations are deferred.
isClosed()
  Returns the result of calling method `isClosed` on the underlying result set.
isValidRow()
  Returns the result of calling method `isValidRow` on the underlying result set.
next()
  Returns the result of calling method `next` on the underlying result set.

##

rs

     protected RTResultSet rs

  The underlying result set.

##

RTResultSetWrapper

     public RTResultSetWrapper(RTResultSet rs)

  Creates a result set wrapper built on top of the specified result set.

  Parameters:
    rs - the underlying result set.

##

getWrappedRTResultSet

     public RTResultSet getWrappedRTResultSet()

  Returns the underlying result set to which all method implementations are deferred.

getJDBCResultSet

     public ResultSet getJDBCResultSet() throws SQLException

  Returns the result of calling method `getJDBCResultSet` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

next

     public boolean next() throws SQLException

  Returns the result of calling method `next` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getCursorName

     public String getCursorName() throws SQLException

  Returns the result of calling method `getCursorName` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

findColumn

     public int findColumn(String p0) throws SQLException

  Returns the result of calling method `findColumn` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getString

     public String getString(int p0) throws SQLException

  Returns the result of calling method `getString` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getBytes

     public byte[] getBytes(int p0) throws SQLException

  Returns the result of calling method `getBytes` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getDate

     public Date getDate(int p0) throws SQLException

  Returns the result of calling method `getDate` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getTime

     public Time getTime(int p0) throws SQLException

  Returns the result of calling method `getTime` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getTimestamp

     public Timestamp getTimestamp(int p0) throws SQLException

  Returns the result of calling method `getTimestamp` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getBooleanWrapper

     public Boolean getBooleanWrapper(int p0) throws SQLException

  Returns the result of calling method `getBooleanWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getByteWrapper

     public Byte getByteWrapper(int p0) throws SQLException

  Returns the result of calling method `getByteWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getShortWrapper

     public Short getShortWrapper(int p0) throws SQLException

  Returns the result of calling method `getShortWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getIntWrapper

     public Integer getIntWrapper(int p0) throws SQLException

  Returns the result of calling method `getIntWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getLongWrapper

     public Long getLongWrapper(int p0) throws SQLException

  Returns the result of calling method `getLongWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getFloatWrapper

     public Float getFloatWrapper(int p0) throws SQLException

  Returns the result of calling method `getFloatWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getDoubleWrapper

     public Double getDoubleWrapper(int p0) throws SQLException

  Returns the result of calling method `getDoubleWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getBooleanNoNull

     public boolean getBooleanNoNull(int p0) throws SQLException

  Returns the result of calling method `getBooleanNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getByteNoNull

     public byte getByteNoNull(int p0) throws SQLException

  Returns the result of calling method `getByteNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getShortNoNull

     public short getShortNoNull(int p0) throws SQLException

  Returns the result of calling method `getShortNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getIntNoNull

     public int getIntNoNull(int p0) throws SQLException

  Returns the result of calling method `getIntNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getLongNoNull

     public long getLongNoNull(int p0) throws SQLException

  Returns the result of calling method `getLongNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getFloatNoNull

     public float getFloatNoNull(int p0) throws SQLException

  Returns the result of calling method `getFloatNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getDoubleNoNull

     public double getDoubleNoNull(int p0) throws SQLException

  Returns the result of calling method `getDoubleNoNull` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getAsciiStreamWrapper

     public AsciiStream getAsciiStreamWrapper(int p0) throws SQLException

  Returns the result of calling method `getAsciiStreamWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getUnicodeStreamWrapper

     public UnicodeStream getUnicodeStreamWrapper(int p0) throws SQLException

  Returns the result of calling method `getUnicodeStreamWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getBinaryStreamWrapper

     public BinaryStream getBinaryStreamWrapper(int p0) throws SQLException

  Returns the result of calling method `getBinaryStreamWrapper` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getObject

     public Object getObject(int p0,
                             Class p1) throws SQLException

  Returns the result of calling method `getObject` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getBigDecimal

     public BigDecimal getBigDecimal(int p0) throws SQLException

  Returns the result of calling method `getBigDecimal` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

getColumnCount

     public int getColumnCount() throws SQLException

  Returns the result of calling method `getColumnCount` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

isValidRow

     public boolean isValidRow() throws SQLException

  Returns the result of calling method `isValidRow` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

isClosed

     public boolean isClosed() throws SQLException

  Returns the result of calling method `isClosed` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

close

     public void close() throws SQLException

  Makes a call to method `close` on the underlying result set.

  Throws: SQLException
    if the call results in an exception

    All Packages    This Package  Previous  Next