public class SimpleParameterMetaData extends Object implements ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown
Constructor and Description |
---|
SimpleParameterMetaData(int parameterCount) |
Modifier and Type | Method and Description |
---|---|
String |
getParameterClassName(int param) |
int |
getParameterCount() |
int |
getParameterMode(int param) |
int |
getParameterType(int param)
Parameter type are not sent by server.
|
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 int getParameterCount() throws SQLException
getParameterCount
in interface ParameterMetaData
SQLException
public int isNullable(int param) throws SQLException
isNullable
in interface ParameterMetaData
SQLException
public boolean isSigned(int param) throws SQLException
isSigned
in interface ParameterMetaData
SQLException
public int getPrecision(int param) throws SQLException
getPrecision
in interface ParameterMetaData
SQLException
public int getScale(int param) throws SQLException
getScale
in interface ParameterMetaData
SQLException
public int getParameterType(int param) throws SQLException
getParameterType
in interface ParameterMetaData
param
- parameter numberSQLException
- a feature not supported, since server doesn't sent the right informationpublic String getParameterTypeName(int param) throws SQLException
getParameterTypeName
in interface ParameterMetaData
SQLException
public String getParameterClassName(int param) throws SQLException
getParameterClassName
in interface ParameterMetaData
SQLException
public int getParameterMode(int param)
getParameterMode
in interface ParameterMetaData
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
Copyright © 2020 mariadb.com. All rights reserved.