java.sql.ParameterMetaData
, java.sql.Wrapper
public class ClientParameterMetaData
extends java.lang.Object
implements java.sql.ParameterMetaData
Modifier and Type | Field | Description |
---|---|---|
private ColumnMetaData |
columnMetaData_ |
Constructor | Description |
---|---|
ClientParameterMetaData(ColumnMetaData columnMetaData) |
Modifier and Type | Method | Description |
---|---|---|
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. |
private ColumnMetaData columnMetaData_
public ClientParameterMetaData(ColumnMetaData columnMetaData)
public int getParameterCount() throws java.sql.SQLException
getParameterCount
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getParameterType(int param) throws java.sql.SQLException
getParameterType
in interface java.sql.ParameterMetaData
java.sql.SQLException
public java.lang.String getParameterTypeName(int param) throws java.sql.SQLException
getParameterTypeName
in interface java.sql.ParameterMetaData
java.sql.SQLException
public java.lang.String getParameterClassName(int param) throws java.sql.SQLException
getParameterClassName
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getParameterMode(int param) throws java.sql.SQLException
getParameterMode
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int isNullable(int param) throws java.sql.SQLException
isNullable
in interface java.sql.ParameterMetaData
java.sql.SQLException
public boolean isSigned(int param) throws java.sql.SQLException
isSigned
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getPrecision(int param) throws java.sql.SQLException
getPrecision
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getScale(int param) throws java.sql.SQLException
getScale
in interface java.sql.ParameterMetaData
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
iface
.isWrapperFor
in interface java.sql.Wrapper
iface
- a class defining an interfacetrue
if this instance implements iface
, or
false
otherwisejava.sql.SQLException
- if an error occurs while determining if this
instance implements iface
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
this
if this class implements the specified interface.unwrap
in interface java.sql.Wrapper
iface
- a class defining an interfacejava.sql.SQLException
- if no object is found that implements the
interfaceApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.