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.ParameterMetaDatajava.sql.SQLExceptionpublic int isNullable(int arg0)
throws java.sql.SQLException
isNullable in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic boolean isSigned(int arg0)
throws java.sql.SQLException
isSigned in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getPrecision(int arg0)
throws java.sql.SQLException
getPrecision in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getScale(int arg0)
throws java.sql.SQLException
getScale in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterType(int arg0)
throws java.sql.SQLException
getParameterType in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic java.lang.String getParameterTypeName(int arg0)
throws java.sql.SQLException
getParameterTypeName in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic java.lang.String getParameterClassName(int arg0)
throws java.sql.SQLException
getParameterClassName in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterMode(int arg0)
throws java.sql.SQLException
getParameterMode in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLException