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.


Variable Index

 o stmt
The underlying statement.

Constructor Index

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

Method Index

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

Variables

 o stmt
 protected RTStatement stmt
The underlying statement.

Constructors

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

Parameters:
stmt - the underlying statement.

Methods

 o getWrappedRTStatement
 public RTStatement getWrappedRTStatement()
Returns the underlying statement to which all method implementations are deferred.

 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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
 o 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