Package org.apache.derby.client.am
Class ClientParameterMetaData
java.lang.Object
org.apache.derby.client.am.ClientParameterMetaData
- All Implemented Interfaces:
ParameterMetaData
,Wrapper
-
Field Summary
FieldsFields inherited from interface java.sql.ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParameterClassName
(int param) int
int
getParameterMode
(int param) int
getParameterType
(int param) getParameterTypeName
(int param) int
getPrecision
(int param) int
getScale
(int param) int
isNullable
(int param) boolean
isSigned
(int param) boolean
isWrapperFor
(Class<?> iface) Check whether this instance wraps an object that implements the interface specified byiface
.<T> T
Returnsthis
if this class implements the specified interface.
-
Field Details
-
columnMetaData_
-
-
Constructor Details
-
ClientParameterMetaData
-
-
Method Details
-
getParameterCount
- Specified by:
getParameterCount
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterType
- Specified by:
getParameterType
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterTypeName
- Specified by:
getParameterTypeName
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterClassName
- Specified by:
getParameterClassName
in interfaceParameterMetaData
- Throws:
SQLException
-
getParameterMode
- Specified by:
getParameterMode
in interfaceParameterMetaData
- Throws:
SQLException
-
isNullable
- Specified by:
isNullable
in interfaceParameterMetaData
- Throws:
SQLException
-
isSigned
- Specified by:
isSigned
in interfaceParameterMetaData
- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecision
in interfaceParameterMetaData
- Throws:
SQLException
-
getScale
- Specified by:
getScale
in interfaceParameterMetaData
- Throws:
SQLException
-
isWrapperFor
Check whether this instance wraps an object that implements the interface specified byiface
.- Specified by:
isWrapperFor
in interfaceWrapper
- Parameters:
iface
- a class defining an interface- Returns:
true
if this instance implementsiface
, orfalse
otherwise- Throws:
SQLException
- if an error occurs while determining if this instance implementsiface
-
unwrap
Returnsthis
if this class implements the specified interface.- Specified by:
unwrap
in interfaceWrapper
- Parameters:
iface
- a class defining an interface- Returns:
- an object that implements the interface
- Throws:
SQLException
- if no object is found that implements the interface
-