    All Packages    This Package  Previous  Next

# Class sqlj.runtime.profile.ref.RTStatementWrapper

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

public class RTStatementWrapper
extends Object
implements RTStatement

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

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

##

stmt
  The underlying statement.

##

RTStatementWrapper(RTStatement)
  Creates a statement wrapper built on top of the specified statement.

##

cancel()
  Makes a call to method `cancel` on the underlying statement.
clearWarnings()
  Makes a call to method `clearWarnings` on the underlying statement.
execute()
  Returns the result of calling method `execute` on the underlying statement.
executeComplete()
  Makes a call to method `executeComplete` on the underlying statement.
executeRTQuery()
  Returns the result of calling method `executeRTQuery` on the underlying statement.
executeUpdate()
  Returns the result of calling method `executeUpdate` on the underlying statement.
getBigDecimal(int)
  Returns the result of calling method `getBigDecimal` on the underlying statement.
getBooleanNoNull(int)
  Returns the result of calling method `getBooleanNoNull` on the underlying statement.
getBooleanWrapper(int)
  Returns the result of calling method `getBooleanWrapper` on the underlying statement.
getByteNoNull(int)
  Returns the result of calling method `getByteNoNull` on the underlying statement.
getBytes(int)
  Returns the result of calling method `getBytes` on the underlying statement.
getByteWrapper(int)
  Returns the result of calling method `getByteWrapper` on the underlying statement.
getDate(int)
  Returns the result of calling method `getDate` on the underlying statement.
getDoubleNoNull(int)
  Returns the result of calling method `getDoubleNoNull` on the underlying statement.
getDoubleWrapper(int)
  Returns the result of calling method `getDoubleWrapper` on the underlying statement.
getFloatNoNull(int)
  Returns the result of calling method `getFloatNoNull` on the underlying statement.
getFloatWrapper(int)
  Returns the result of calling method `getFloatWrapper` on the underlying statement.
getIntNoNull(int)
  Returns the result of calling method `getIntNoNull` on the underlying statement.
getIntWrapper(int)
  Returns the result of calling method `getIntWrapper` on the underlying statement.
getJDBCCallableStatement()
  Returns the result of calling method `getJDBCCallableStatement` on the underlying statement.
getJDBCPreparedStatement()
  Returns the result of calling method `getJDBCPreparedStatement` on the underlying statement.
getLongNoNull(int)
  Returns the result of calling method `getLongNoNull` on the underlying statement.
getLongWrapper(int)
  Returns the result of calling method `getLongWrapper` on the underlying statement.
getMaxFieldSize()
  Returns the result of calling method `getMaxFieldSize` on the underlying statement.
getMaxRows()
  Returns the result of calling method `getMaxRows` on the underlying statement.
getMoreResults()
  Returns the result of calling method `getMoreResults` on the underlying statement.
getObject(int, Class)
  Returns the result of calling method `getObject` on the underlying statement.
getQueryTimeout()
  Returns the result of calling method `getQueryTimeout` on the underlying statement.
getResultSet()
  Returns the result of calling method `getResultSet` on the underlying statement.
getShortNoNull(int)
  Returns the result of calling method `getShortNoNull` on the underlying statement.
getShortWrapper(int)
  Returns the result of calling method `getShortWrapper` on the underlying statement.
getString(int)
  Returns the result of calling method `getString` on the underlying statement.
getTime(int)
  Returns the result of calling method `getTime` on the underlying statement.
getTimestamp(int)
  Returns the result of calling method `getTimestamp` on the underlying statement.
getUpdateCount()
  Returns the result of calling method `getUpdateCount` on the underlying statement.
getWarnings()
  Returns the result of calling method `getWarnings` on the underlying statement.
getWrappedRTStatement()
  Returns the underlying statement to which all method implementations are deferred.
setAsciiStreamWrapper(int, AsciiStream)
  Makes a call to method `setAsciiStreamWrapper` on the underlying statement.
setBigDecimal(int, BigDecimal)
  Makes a call to method `setBigDecimal` on the underlying statement.
setBinaryStreamWrapper(int, BinaryStream)
  Makes a call to method `setBinaryStreamWrapper` on the underlying statement.
setBoolean(int, boolean)
  Makes a call to method `setBoolean` on the underlying statement.
setBooleanWrapper(int, Boolean)
  Makes a call to method `setBooleanWrapper` on the underlying statement.
setByte(int, byte)
  Makes a call to method `setByte` on the underlying statement.
setBytes(int, byte[])
  Makes a call to method `setBytes` on the underlying statement.
setByteWrapper(int, Byte)
  Makes a call to method `setByteWrapper` on the underlying statement.
setDate(int, Date)
  Makes a call to method `setDate` on the underlying statement.
setDouble(int, double)
  Makes a call to method `setDouble` on the underlying statement.
setDoubleWrapper(int, Double)
  Makes a call to method `setDoubleWrapper` on the underlying statement.
setFloat(int, float)
  Makes a call to method `setFloat` on the underlying statement.
setFloatWrapper(int, Float)
  Makes a call to method `setFloatWrapper` on the underlying statement.
setInt(int, int)
  Makes a call to method `setInt` on the underlying statement.
setIntWrapper(int, Integer)
  Makes a call to method `setIntWrapper` on the underlying statement.
setLong(int, long)
  Makes a call to method `setLong` on the underlying statement.
setLongWrapper(int, Long)
  Makes a call to method `setLongWrapper` on the underlying statement.
setMaxFieldSize(int)
  Makes a call to method `setMaxFieldSize` on the underlying statement.
setMaxRows(int)
  Makes a call to method `setMaxRows` on the underlying statement.
setObject(int, Object)
  Makes a call to method `setObject` on the underlying statement.
setQueryTimeout(int)
  Makes a call to method `setQueryTimeout` on the underlying statement.
setShort(int, short)
  Makes a call to method `setShort` on the underlying statement.
setShortWrapper(int, Short)
  Makes a call to method `setShortWrapper` on the underlying statement.
setString(int, String)
  Makes a call to method `setString` on the underlying statement.
setTime(int, Time)
  Makes a call to method `setTime` on the underlying statement.
setTimestamp(int, Timestamp)
  Makes a call to method `setTimestamp` on the underlying statement.
setUnicodeStreamWrapper(int, UnicodeStream)
  Makes a call to method `setUnicodeStreamWrapper` on the underlying statement.

##

stmt

     protected RTStatement stmt

  The underlying statement.

##

RTStatementWrapper

     public RTStatementWrapper(RTStatement stmt)

  Creates a statement wrapper built on top of the specified statement.

  Parameters:
    stmt - the underlying statement.

##

getWrappedRTStatement

     public RTStatement getWrappedRTStatement()

  Returns the underlying statement to which all method implementations are deferred.

getJDBCPreparedStatement

     public PreparedStatement getJDBCPreparedStatement() throws SQLException

  Returns the result of calling method `getJDBCPreparedStatement` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getJDBCCallableStatement

     public CallableStatement getJDBCCallableStatement() throws SQLException

  Returns the result of calling method `getJDBCCallableStatement` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getMaxFieldSize

     public int getMaxFieldSize() throws SQLException

  Returns the result of calling method `getMaxFieldSize` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setMaxFieldSize

     public void setMaxFieldSize(int p0) throws SQLException

  Makes a call to method `setMaxFieldSize` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getMaxRows

     public int getMaxRows() throws SQLException

  Returns the result of calling method `getMaxRows` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setMaxRows

     public void setMaxRows(int p0) throws SQLException

  Makes a call to method `setMaxRows` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getQueryTimeout

     public int getQueryTimeout() throws SQLException

  Returns the result of calling method `getQueryTimeout` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setQueryTimeout

     public void setQueryTimeout(int p0) throws SQLException

  Makes a call to method `setQueryTimeout` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

cancel

     public void cancel() throws SQLException

  Makes a call to method `cancel` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getWarnings

     public SQLWarning getWarnings() throws SQLException

  Returns the result of calling method `getWarnings` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

clearWarnings

     public void clearWarnings() throws SQLException

  Makes a call to method `clearWarnings` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getResultSet

     public ResultSet getResultSet() throws SQLException

  Returns the result of calling method `getResultSet` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getUpdateCount

     public int getUpdateCount() throws SQLException

  Returns the result of calling method `getUpdateCount` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

getMoreResults

     public boolean getMoreResults() throws SQLException

  Returns the result of calling method `getMoreResults` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

executeRTQuery

     public RTResultSet executeRTQuery() throws SQLException

  Returns the result of calling method `executeRTQuery` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

executeUpdate

     public int executeUpdate() throws SQLException

  Returns the result of calling method `executeUpdate` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setBoolean

     public void setBoolean(int p0,
                            boolean p1) throws SQLException

  Makes a call to method `setBoolean` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setByte

     public void setByte(int p0,
                         byte p1) throws SQLException

  Makes a call to method `setByte` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setShort

     public void setShort(int p0,
                          short p1) throws SQLException

  Makes a call to method `setShort` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setInt

     public void setInt(int p0,
                        int p1) throws SQLException

  Makes a call to method `setInt` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setLong

     public void setLong(int p0,
                         long p1) throws SQLException

  Makes a call to method `setLong` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setFloat

     public void setFloat(int p0,
                          float p1) throws SQLException

  Makes a call to method `setFloat` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setDouble

     public void setDouble(int p0,
                           double p1) throws SQLException

  Makes a call to method `setDouble` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setBooleanWrapper

     public void setBooleanWrapper(int p0,
                                   Boolean p1) throws SQLException

  Makes a call to method `setBooleanWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setByteWrapper

     public void setByteWrapper(int p0,
                                Byte p1) throws SQLException

  Makes a call to method `setByteWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setShortWrapper

     public void setShortWrapper(int p0,
                                 Short p1) throws SQLException

  Makes a call to method `setShortWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setIntWrapper

     public void setIntWrapper(int p0,
                               Integer p1) throws SQLException

  Makes a call to method `setIntWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setLongWrapper

     public void setLongWrapper(int p0,
                                Long p1) throws SQLException

  Makes a call to method `setLongWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setFloatWrapper

     public void setFloatWrapper(int p0,
                                 Float p1) throws SQLException

  Makes a call to method `setFloatWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setDoubleWrapper

     public void setDoubleWrapper(int p0,
                                  Double p1) throws SQLException

  Makes a call to method `setDoubleWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setBigDecimal

     public void setBigDecimal(int p0,
                               BigDecimal p1) throws SQLException

  Makes a call to method `setBigDecimal` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setString

     public void setString(int p0,
                           String p1) throws SQLException

  Makes a call to method `setString` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setBytes

     public void setBytes(int p0,
                          byte p1[]) throws SQLException

  Makes a call to method `setBytes` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setDate

     public void setDate(int p0,
                         Date p1) throws SQLException

  Makes a call to method `setDate` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setTime

     public void setTime(int p0,
                         Time p1) throws SQLException

  Makes a call to method `setTime` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setTimestamp

     public void setTimestamp(int p0,
                              Timestamp p1) throws SQLException

  Makes a call to method `setTimestamp` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setAsciiStreamWrapper

     public void setAsciiStreamWrapper(int p0,
                                       AsciiStream p1) throws SQLException

  Makes a call to method `setAsciiStreamWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setBinaryStreamWrapper

     public void setBinaryStreamWrapper(int p0,
                                        BinaryStream p1) throws SQLException

  Makes a call to method `setBinaryStreamWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setUnicodeStreamWrapper

     public void setUnicodeStreamWrapper(int p0,
                                         UnicodeStream p1) throws SQLException

  Makes a call to method `setUnicodeStreamWrapper` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

setObject

     public void setObject(int p0,
                           Object p1) throws SQLException

  Makes a call to method `setObject` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

execute

     public boolean execute() throws SQLException

  Returns the result of calling method `execute` on the underlying statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  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 statement.

  Throws: SQLException
    if the call results in an exception

executeComplete

     public void executeComplete() throws SQLException

  Makes a call to method `executeComplete` on the underlying statement.

  Throws: SQLException
    if the call results in an exception

    All Packages    This Package  Previous  Next