com.alibaba.druid.mock
类 MockParameterMetaData
java.lang.Object
com.alibaba.druid.mock.MockParameterMetaData
- 所有已实现的接口:
- ParameterMetaData, Wrapper
public class MockParameterMetaData
- extends Object
- implements ParameterMetaData
MockParameterMetaData
public MockParameterMetaData()
getParameters
public List<MockParameterMetaData.Parameter> getParameters()
unwrap
public <T> T unwrap(Class<T> iface)
throws SQLException
- 指定者:
- 接口
Wrapper 中的 unwrap
- 抛出:
SQLException
isWrapperFor
public boolean isWrapperFor(Class<?> iface)
throws SQLException
- 指定者:
- 接口
Wrapper 中的 isWrapperFor
- 抛出:
SQLException
getParameterCount
public int getParameterCount()
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getParameterCount
- 抛出:
SQLException
isNullable
public int isNullable(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 isNullable
- 抛出:
SQLException
isSigned
public boolean isSigned(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 isSigned
- 抛出:
SQLException
getPrecision
public int getPrecision(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getPrecision
- 抛出:
SQLException
getScale
public int getScale(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getScale
- 抛出:
SQLException
getParameterType
public int getParameterType(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getParameterType
- 抛出:
SQLException
getParameterTypeName
public String getParameterTypeName(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getParameterTypeName
- 抛出:
SQLException
getParameterClassName
public String getParameterClassName(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getParameterClassName
- 抛出:
SQLException
getParameterMode
public int getParameterMode(int param)
throws SQLException
- 指定者:
- 接口
ParameterMetaData 中的 getParameterMode
- 抛出:
SQLException
Copyright © 2013 Alibaba Group. All Rights Reserved.