public class MysqlParameterMetadata
extends java.lang.Object
implements java.sql.ParameterMetaData
Constructor and Description |
---|
MysqlParameterMetadata(Session session,
Field[] fieldInfo,
int parameterCount,
ExceptionInterceptor exceptionInterceptor) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameterClassName(int arg0) |
int |
getParameterCount() |
int |
getParameterMode(int arg0) |
int |
getParameterType(int arg0) |
java.lang.String |
getParameterTypeName(int arg0) |
int |
getPrecision(int arg0) |
int |
getScale(int arg0) |
int |
isNullable(int arg0) |
boolean |
isSigned(int arg0) |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
<T> T |
unwrap(java.lang.Class<T> iface) |
public MysqlParameterMetadata(Session session, Field[] fieldInfo, int parameterCount, ExceptionInterceptor exceptionInterceptor)
public int getParameterCount() throws java.sql.SQLException
getParameterCount
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int isNullable(int arg0) throws java.sql.SQLException
isNullable
in interface java.sql.ParameterMetaData
java.sql.SQLException
public boolean isSigned(int arg0) throws java.sql.SQLException
isSigned
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getPrecision(int arg0) throws java.sql.SQLException
getPrecision
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getScale(int arg0) throws java.sql.SQLException
getScale
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getParameterType(int arg0) throws java.sql.SQLException
getParameterType
in interface java.sql.ParameterMetaData
java.sql.SQLException
public java.lang.String getParameterTypeName(int arg0) throws java.sql.SQLException
getParameterTypeName
in interface java.sql.ParameterMetaData
java.sql.SQLException
public java.lang.String getParameterClassName(int arg0) throws java.sql.SQLException
getParameterClassName
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getParameterMode(int arg0) throws java.sql.SQLException
getParameterMode
in interface java.sql.ParameterMetaData
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException