org.apache.derby.impl.jdbc
Class EmbedParameterMetaData30

java.lang.Object
  extended by org.apache.derby.impl.jdbc.EmbedParameterSetMetaData
      extended by org.apache.derby.impl.jdbc.EmbedParameterMetaData30
All Implemented Interfaces:
java.sql.ParameterMetaData, java.sql.Wrapper, EngineParameterMetaData

 class EmbedParameterMetaData30
extends EmbedParameterSetMetaData
implements java.sql.ParameterMetaData

This class implements the ParameterMetaData interface from JDBC 3.0 and 4.0. It provides the parameter meta data for callable & prepared statements But note that the bulk of it resides in its parent class. The reason is we want to provide the functionality to the JDKs before JDBC3.0.

Supports

See Also:
ParameterMetaData

Field Summary
 
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
 
Constructor Summary
EmbedParameterMetaData30(ParameterValueSet pvs, DataTypeDescriptor[] types)
           
 
Method Summary
 boolean isWrapperFor(java.lang.Class<?> iface)
          Returns false unless iface is implemented.
<T> T
unwrap(java.lang.Class<T> iface)
          Returns this if this class implements the specified interface.
 
Methods inherited from class org.apache.derby.impl.jdbc.EmbedParameterSetMetaData
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.ParameterMetaData
getParameterClassName, getParameterCount, getParameterMode, getParameterType, getParameterTypeName, getPrecision, getScale, isNullable, isSigned
 

Constructor Detail

EmbedParameterMetaData30

EmbedParameterMetaData30(ParameterValueSet pvs,
                         DataTypeDescriptor[] types)
Method Detail

isWrapperFor

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

Specified by:
isWrapperFor in interface java.sql.Wrapper
Parameters:
iface - 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> iface)
         throws java.sql.SQLException
Returns this if this class implements the specified interface.

Specified by:
unwrap in interface java.sql.Wrapper
Parameters:
iface - a class defining an interface
Returns:
an object that implements the interface
Throws:
java.sql.SQLException - if no object is found that implements the interface

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

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