public class MockParameterMetaData extends Object implements ParameterMetaData
| 限定符和类型 | 类和说明 |
|---|---|
static class |
MockParameterMetaData.Parameter |
| 构造器和说明 |
|---|
MockParameterMetaData() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getParameterClassName(int param) |
int |
getParameterCount() |
int |
getParameterMode(int param) |
List<MockParameterMetaData.Parameter> |
getParameters() |
int |
getParameterType(int param) |
String |
getParameterTypeName(int param) |
int |
getPrecision(int param) |
int |
getScale(int param) |
int |
isNullable(int param) |
boolean |
isSigned(int param) |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
public List<MockParameterMetaData.Parameter> getParameters()
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic int getParameterCount()
throws SQLException
getParameterCount 在接口中 ParameterMetaDataSQLExceptionpublic int isNullable(int param)
throws SQLException
isNullable 在接口中 ParameterMetaDataSQLExceptionpublic boolean isSigned(int param)
throws SQLException
isSigned 在接口中 ParameterMetaDataSQLExceptionpublic int getPrecision(int param)
throws SQLException
getPrecision 在接口中 ParameterMetaDataSQLExceptionpublic int getScale(int param)
throws SQLException
getScale 在接口中 ParameterMetaDataSQLExceptionpublic int getParameterType(int param)
throws SQLException
getParameterType 在接口中 ParameterMetaDataSQLExceptionpublic String getParameterTypeName(int param) throws SQLException
getParameterTypeName 在接口中 ParameterMetaDataSQLExceptionpublic String getParameterClassName(int param) throws SQLException
getParameterClassName 在接口中 ParameterMetaDataSQLExceptionpublic int getParameterMode(int param)
throws SQLException
getParameterMode 在接口中 ParameterMetaDataSQLExceptionCopyright © 2012 Alibaba Group. All Rights Reserved.