org.apache.derby.client.am
Class ParameterMetaData

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

public class ParameterMetaData
extends java.lang.Object
implements java.sql.ParameterMetaData


Field Summary
(package private)  ColumnMetaData columnMetaData_
           
 
Fields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
 
Constructor Summary
ParameterMetaData(ColumnMetaData columnMetaData)
           
 
Method Summary
 java.lang.String getParameterClassName(int param)
           
 int getParameterCount()
           
 int getParameterMode(int param)
           
 int getParameterType(int param)
           
 java.lang.String getParameterTypeName(int param)
           
 int getPrecision(int param)
           
 int getScale(int param)
           
 int isNullable(int param)
           
 boolean isSigned(int param)
           
 boolean isWrapperFor(java.lang.Class<?> iface)
          Check whether this instance wraps an object that implements the interface specified by iface.
<T> T
unwrap(java.lang.Class<T> iface)
          Returns this if this class implements the specified interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnMetaData_

ColumnMetaData columnMetaData_
Constructor Detail

ParameterMetaData

public ParameterMetaData(ColumnMetaData columnMetaData)
Method Detail

getParameterCount

public int getParameterCount()
                      throws java.sql.SQLException
Specified by:
getParameterCount in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterType

public int getParameterType(int param)
                     throws java.sql.SQLException
Specified by:
getParameterType in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterTypeName

public java.lang.String getParameterTypeName(int param)
                                      throws java.sql.SQLException
Specified by:
getParameterTypeName in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterClassName

public java.lang.String getParameterClassName(int param)
                                       throws java.sql.SQLException
Specified by:
getParameterClassName in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getParameterMode

public int getParameterMode(int param)
                     throws java.sql.SQLException
Specified by:
getParameterMode in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

isNullable

public int isNullable(int param)
               throws java.sql.SQLException
Specified by:
isNullable in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

isSigned

public boolean isSigned(int param)
                 throws java.sql.SQLException
Specified by:
isSigned in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getPrecision

public int getPrecision(int param)
                 throws java.sql.SQLException
Specified by:
getPrecision in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

getScale

public int getScale(int param)
             throws java.sql.SQLException
Specified by:
getScale in interface java.sql.ParameterMetaData
Throws:
java.sql.SQLException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> iface)
                     throws java.sql.SQLException
Check whether this instance wraps an object that implements the interface specified by iface.

Specified by:
isWrapperFor in interface java.sql.Wrapper
Parameters:
iface - a class defining an interface
Returns:
true if this instance implements iface, or false otherwise
Throws:
java.sql.SQLException - if an error occurs while determining if this instance implements iface

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.