org.apache.derby.client.am
Class ColumnMetaData40

java.lang.Object
  extended by org.apache.derby.client.am.ColumnMetaData
      extended by org.apache.derby.client.am.ColumnMetaData40
All Implemented Interfaces:
java.sql.ResultSetMetaData, java.sql.Wrapper

public class ColumnMetaData40
extends ColumnMetaData


Field Summary
 
Fields inherited from class org.apache.derby.client.am.ColumnMetaData
clientParamtertype_, columns_, logWriter_, mddOverrideArray_, nullable_, protocolTypesCache_, protocolTypeToOverrideLidMapping_, resultSetConcurrency_, singleMixedByteOrDouble_, sqlCcsid_, sqlComment_, sqldFcode_, sqldHold_, sqldKeytype_, sqldRdbnam_, sqldReturn_, sqldSchema_, sqldScroll_, sqldSensitive_, sqlLabel_, sqlLength_, sqlName_, sqlPrecision_, sqlScale_, sqlType_, sqlUDTclassName_, sqlUDTname_, sqlUnnamed_, sqlxBasename_, sqlxCorname_, sqlxGenerated_, sqlxKeymem_, sqlxName_, sqlxParmmode_, sqlxRdbnam_, sqlxSchema_, sqlxUpdatable_, types_
 
Fields inherited from interface java.sql.ResultSetMetaData
columnNoNulls, columnNullable, columnNullableUnknown
 
Constructor Summary
ColumnMetaData40(LogWriter logWriter)
          Calls the superclass constructor to pass the parameters
ColumnMetaData40(LogWriter logWriter, int upperBound)
          Calls the superclass constructor to pass the parameters
 
Method Summary
 boolean isWrapperFor(java.lang.Class<?> interfaces)
          Returns false unless interfaces is implemented
<T> T
unwrap(java.lang.Class<T> interfaces)
          Returns this if this class implements the interface
 
Methods inherited from class org.apache.derby.client.am.ColumnMetaData
assignColumnName, checkForClosedStatement, checkForValidColumnIndex, columnIsNotInUnicode, finalize, findColumnX, getCatalogName, getColumnClassName, getColumnCount, getColumnDisplaySize, getColumnLabel, getColumnName, getColumnType, getColumnTypeName, getPrecision, getScale, getSchemaName, getTableName, hasLobColumns, initializeCache, isAutoIncrement, isCaseSensitive, isCurrency, isDefinitelyWritable, isNullable, isParameterModeGuessedAsOutput, isReadOnly, isSearchable, isSigned, isWritable, markClosed, setLogWriter
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnMetaData40

public ColumnMetaData40(LogWriter logWriter)
Calls the superclass constructor to pass the parameters

Parameters:
logWriter - LogWriter

ColumnMetaData40

public ColumnMetaData40(LogWriter logWriter,
                        int upperBound)
Calls the superclass constructor to pass the parameters

Parameters:
logWriter - LogWriter
upperBound - int
Method Detail

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> interfaces)
                     throws java.sql.SQLException
Returns false unless interfaces is implemented

Parameters:
interfaces - a Class defining an interface.
Returns:
true if this implements the interface or directly or indirectly wraps an object that does.
Throws:
java.sql.SQLException - if an error occurs while determining whether this is a wrapper for an object with the given interface.

unwrap

public <T> T unwrap(java.lang.Class<T> interfaces)
         throws java.sql.SQLException
Returns this if this class implements the interface

Parameters:
interfaces - a Class defining an interface
Returns:
an object that implements the interface
Throws:
java.sql.SQLExption - if no object if found that implements the interface
java.sql.SQLException

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.