com.p6spy.engine.spy
Class P6ResultSetMetaData

java.lang.Object
  extended by com.p6spy.engine.spy.P6Base
      extended by com.p6spy.engine.spy.P6ResultSetMetaData
All Implemented Interfaces:
ResultSetMetaData

public class P6ResultSetMetaData
extends P6Base
implements ResultSetMetaData


Field Summary
protected  ResultSetMetaData passthru
           
 
Fields inherited from class com.p6spy.engine.spy.P6Base
factory
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
P6ResultSetMetaData(P6Factory factory, ResultSetMetaData resultSetMetaData)
           
 
Method Summary
 String getCatalogName(int param)
           
 String getColumnClassName(int param)
           
 int getColumnCount()
           
 int getColumnDisplaySize(int param)
           
 String getColumnLabel(int param)
           
 String getColumnName(int param)
           
 int getColumnType(int param)
           
 String getColumnTypeName(int param)
           
 ResultSetMetaData getJDBC()
          Returns the underlying JDBC object (in this case, a java.sql.ResultSetMetaData)
 int getPrecision(int param)
           
 int getScale(int param)
           
 String getSchemaName(int param)
           
 String getTableName(int param)
           
 boolean isAutoIncrement(int param)
           
 boolean isCaseSensitive(int param)
           
 boolean isCurrency(int param)
           
 boolean isDefinitelyWritable(int param)
           
 int isNullable(int param)
           
 boolean isReadOnly(int param)
           
 boolean isSearchable(int param)
           
 boolean isSigned(int param)
           
 boolean isWritable(int param)
           
 
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 ResultSetMetaData passthru
Constructor Detail

P6ResultSetMetaData

public P6ResultSetMetaData(P6Factory factory,
                           ResultSetMetaData resultSetMetaData)
Method Detail

getCatalogName

public String getCatalogName(int param)
                      throws SQLException
Specified by:
getCatalogName in interface ResultSetMetaData
Throws:
SQLException

getColumnClassName

public String getColumnClassName(int param)
                          throws SQLException
Specified by:
getColumnClassName in interface ResultSetMetaData
Throws:
SQLException

getColumnCount

public int getColumnCount()
                   throws SQLException
Specified by:
getColumnCount in interface ResultSetMetaData
Throws:
SQLException

getColumnDisplaySize

public int getColumnDisplaySize(int param)
                         throws SQLException
Specified by:
getColumnDisplaySize in interface ResultSetMetaData
Throws:
SQLException

getColumnLabel

public String getColumnLabel(int param)
                      throws SQLException
Specified by:
getColumnLabel in interface ResultSetMetaData
Throws:
SQLException

getColumnName

public String getColumnName(int param)
                     throws SQLException
Specified by:
getColumnName in interface ResultSetMetaData
Throws:
SQLException

getColumnType

public int getColumnType(int param)
                  throws SQLException
Specified by:
getColumnType in interface ResultSetMetaData
Throws:
SQLException

getColumnTypeName

public String getColumnTypeName(int param)
                         throws SQLException
Specified by:
getColumnTypeName in interface ResultSetMetaData
Throws:
SQLException

getPrecision

public int getPrecision(int param)
                 throws SQLException
Specified by:
getPrecision in interface ResultSetMetaData
Throws:
SQLException

getScale

public int getScale(int param)
             throws SQLException
Specified by:
getScale in interface ResultSetMetaData
Throws:
SQLException

getSchemaName

public String getSchemaName(int param)
                     throws SQLException
Specified by:
getSchemaName in interface ResultSetMetaData
Throws:
SQLException

getTableName

public String getTableName(int param)
                    throws SQLException
Specified by:
getTableName in interface ResultSetMetaData
Throws:
SQLException

isAutoIncrement

public boolean isAutoIncrement(int param)
                        throws SQLException
Specified by:
isAutoIncrement in interface ResultSetMetaData
Throws:
SQLException

isCaseSensitive

public boolean isCaseSensitive(int param)
                        throws SQLException
Specified by:
isCaseSensitive in interface ResultSetMetaData
Throws:
SQLException

isCurrency

public boolean isCurrency(int param)
                   throws SQLException
Specified by:
isCurrency in interface ResultSetMetaData
Throws:
SQLException

isDefinitelyWritable

public boolean isDefinitelyWritable(int param)
                             throws SQLException
Specified by:
isDefinitelyWritable in interface ResultSetMetaData
Throws:
SQLException

isNullable

public int isNullable(int param)
               throws SQLException
Specified by:
isNullable in interface ResultSetMetaData
Throws:
SQLException

isReadOnly

public boolean isReadOnly(int param)
                   throws SQLException
Specified by:
isReadOnly in interface ResultSetMetaData
Throws:
SQLException

isSearchable

public boolean isSearchable(int param)
                     throws SQLException
Specified by:
isSearchable in interface ResultSetMetaData
Throws:
SQLException

isSigned

public boolean isSigned(int param)
                 throws SQLException
Specified by:
isSigned in interface ResultSetMetaData
Throws:
SQLException

isWritable

public boolean isWritable(int param)
                   throws SQLException
Specified by:
isWritable in interface ResultSetMetaData
Throws:
SQLException

getJDBC

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

Returns:
the wrapped JDBC object