com.p6spy.engine.spy
Class P6CallableStatement

java.lang.Object
  |
  +--com.p6spy.engine.spy.P6Statement
        |
        +--com.p6spy.engine.spy.P6PreparedStatement
              |
              +--com.p6spy.engine.spy.P6CallableStatement
All Implemented Interfaces:
java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement
Direct Known Subclasses:
P6LogCallableStatement, P6OutageCallableStatement

public class P6CallableStatement
extends P6PreparedStatement
implements java.sql.CallableStatement


Field Summary
protected  java.lang.String callableQuery
           
protected  java.sql.CallableStatement callStmtPassthru
           
 
Fields inherited from class com.p6spy.engine.spy.P6PreparedStatement
isString, P6_MAX_FIELDS, preparedQuery, prepStmtPassthru, values
 
Fields inherited from class com.p6spy.engine.spy.P6Statement
connection, passthru, statementQuery
 
Constructor Summary
P6CallableStatement(java.sql.CallableStatement statement, P6Connection conn, java.lang.String query)
           
 
Method Summary
 java.sql.Array getArray(int p0)
           
 java.math.BigDecimal getBigDecimal(int p0)
           
 java.math.BigDecimal getBigDecimal(int p0, int p1)
           
 java.sql.Blob getBlob(int p0)
           
 boolean getBoolean(int p0)
           
 byte getByte(int p0)
           
 byte[] getBytes(int p0)
           
 java.sql.Clob getClob(int p0)
           
 java.sql.Date getDate(int p0)
           
 java.sql.Date getDate(int p0, java.util.Calendar calendar)
           
 double getDouble(int p0)
           
 float getFloat(int p0)
           
 int getInt(int p0)
           
 long getLong(int p0)
           
 java.lang.Object getObject(int p0)
           
 java.lang.Object getObject(int p0, java.util.Map p1)
           
protected  P6Factory getP6Factory()
           
 java.sql.Ref getRef(int p0)
           
 short getShort(int p0)
           
 java.lang.String getString(int p0)
           
 java.sql.Time getTime(int p0)
           
 java.sql.Time getTime(int p0, java.util.Calendar p1)
           
 java.sql.Timestamp getTimestamp(int p0)
           
 java.sql.Timestamp getTimestamp(int p0, java.util.Calendar p1)
           
 void registerOutParameter(int p0, int p1)
           
 void registerOutParameter(int p0, int p1, int p2)
           
 void registerOutParameter(int p0, int p1, java.lang.String p2)
           
 boolean wasNull()
           
 
Methods inherited from class com.p6spy.engine.spy.P6PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getQueryFromPreparedStatement, getResultSet, initValues, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setObjectAsInt, setObjectAsString, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream
 
Methods inherited from class com.p6spy.engine.spy.P6Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 

Field Detail

callStmtPassthru

protected java.sql.CallableStatement callStmtPassthru

callableQuery

protected java.lang.String callableQuery
Constructor Detail

P6CallableStatement

public P6CallableStatement(java.sql.CallableStatement statement,
                           P6Connection conn,
                           java.lang.String query)
Method Detail

getP6Factory

protected P6Factory getP6Factory()
Overrides:
getP6Factory in class P6PreparedStatement

getString

public java.lang.String getString(int p0)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(int p0,
                                 int p1)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(int p0,
                                 int p1,
                                 int p2)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(int p0,
                                 int p1,
                                 java.lang.String p2)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Specified by:
wasNull in interface java.sql.CallableStatement

getArray

public java.sql.Array getArray(int p0)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.CallableStatement

getBigDecimal

public java.math.BigDecimal getBigDecimal(int p0)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.CallableStatement

getBigDecimal

public java.math.BigDecimal getBigDecimal(int p0,
                                          int p1)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.CallableStatement

getBlob

public java.sql.Blob getBlob(int p0)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.CallableStatement

getBoolean

public boolean getBoolean(int p0)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.CallableStatement

getByte

public byte getByte(int p0)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.CallableStatement

getBytes

public byte[] getBytes(int p0)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.CallableStatement

getClob

public java.sql.Clob getClob(int p0)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.CallableStatement

getDate

public java.sql.Date getDate(int p0)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement

getDate

public java.sql.Date getDate(int p0,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement

getDouble

public double getDouble(int p0)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.CallableStatement

getFloat

public float getFloat(int p0)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.CallableStatement

getInt

public int getInt(int p0)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.CallableStatement

getLong

public long getLong(int p0)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.CallableStatement

getObject

public java.lang.Object getObject(int p0)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement

getObject

public java.lang.Object getObject(int p0,
                                  java.util.Map p1)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement

getRef

public java.sql.Ref getRef(int p0)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.CallableStatement

getShort

public short getShort(int p0)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.CallableStatement

getTime

public java.sql.Time getTime(int p0)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement

getTime

public java.sql.Time getTime(int p0,
                             java.util.Calendar p1)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement

getTimestamp

public java.sql.Timestamp getTimestamp(int p0)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement

getTimestamp

public java.sql.Timestamp getTimestamp(int p0,
                                       java.util.Calendar p1)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement