com.p6spy.engine.spy
Class P6Array

java.lang.Object
  extended by com.p6spy.engine.spy.P6Base
      extended by com.p6spy.engine.spy.P6Array
All Implemented Interfaces:
Array

public class P6Array
extends P6Base
implements Array


Field Summary
protected  Array passthru
           
protected  String preparedQuery
           
protected  String query
           
protected  P6Statement statement
           
 
Fields inherited from class com.p6spy.engine.spy.P6Base
factory
 
Constructor Summary
P6Array(P6Factory factory, Array array, P6Statement statement, String preparedQuery, String query)
           
 
Method Summary
 Object getArray()
           
 Object getArray(long p0, int p1)
           
 Object getArray(long p0, int p1, Map map)
           
 Object getArray(Map p0)
           
 int getBaseType()
           
 String getBaseTypeName()
           
 Array getJDBC()
          Returns the underlying JDBC object (in this case, a java.sql.Array)
 ResultSet getResultSet()
           
 ResultSet getResultSet(long p0, int p1)
           
 ResultSet getResultSet(long p0, int p1, Map p2)
           
 ResultSet getResultSet(Map p0)
           
 
Methods inherited from class com.p6spy.engine.spy.P6Base
getP6Factory, setP6Factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

passthru

protected Array passthru

statement

protected P6Statement statement

query

protected String query

preparedQuery

protected String preparedQuery
Constructor Detail

P6Array

public P6Array(P6Factory factory,
               Array array,
               P6Statement statement,
               String preparedQuery,
               String query)
Method Detail

getArray

public Object getArray()
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getArray

public Object getArray(Map p0)
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getArray

public Object getArray(long p0,
                       int p1)
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getArray

public Object getArray(long p0,
                       int p1,
                       Map map)
                throws SQLException
Specified by:
getArray in interface Array
Throws:
SQLException

getBaseType

public int getBaseType()
                throws SQLException
Specified by:
getBaseType in interface Array
Throws:
SQLException

getBaseTypeName

public String getBaseTypeName()
                       throws SQLException
Specified by:
getBaseTypeName in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet()
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet(Map p0)
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet(long p0,
                              int p1)
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getResultSet

public ResultSet getResultSet(long p0,
                              int p1,
                              Map p2)
                       throws SQLException
Specified by:
getResultSet in interface Array
Throws:
SQLException

getJDBC

public Array getJDBC()
Returns the underlying JDBC object (in this case, a java.sql.Array)

Returns:
the wrapped JDBC object