Package com.mysql.cj.jdbc
Class MysqlParameterMetadata
java.lang.Object
com.mysql.cj.jdbc.MysqlParameterMetadata
- All Implemented Interfaces:
java.sql.ParameterMetaData,java.sql.Wrapper
public class MysqlParameterMetadata
extends java.lang.Object
implements java.sql.ParameterMetaData
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MysqlParameterMetadata(Session session, Field[] fieldInfo, int parameterCount, ExceptionInterceptor exceptionInterceptor) -
Method Summary
Modifier and Type Method Description java.lang.StringgetParameterClassName(int arg0)intgetParameterCount()intgetParameterMode(int arg0)intgetParameterType(int arg0)java.lang.StringgetParameterTypeName(int arg0)intgetPrecision(int arg0)intgetScale(int arg0)intisNullable(int arg0)booleanisSigned(int arg0)booleanisWrapperFor(java.lang.Class<?> iface)<T> Tunwrap(java.lang.Class<T> iface)
-
Constructor Details
-
MysqlParameterMetadata
public MysqlParameterMetadata(Session session, Field[] fieldInfo, int parameterCount, ExceptionInterceptor exceptionInterceptor)
-
-
Method Details
-
getParameterCount
public int getParameterCount() throws java.sql.SQLException- Specified by:
getParameterCountin interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
isNullable
public int isNullable(int arg0) throws java.sql.SQLException- Specified by:
isNullablein interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
isSigned
public boolean isSigned(int arg0) throws java.sql.SQLException- Specified by:
isSignedin interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
getPrecision
public int getPrecision(int arg0) throws java.sql.SQLException- Specified by:
getPrecisionin interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
getScale
public int getScale(int arg0) throws java.sql.SQLException- Specified by:
getScalein interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
getParameterType
public int getParameterType(int arg0) throws java.sql.SQLException- Specified by:
getParameterTypein interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
getParameterTypeName
public java.lang.String getParameterTypeName(int arg0) throws java.sql.SQLException- Specified by:
getParameterTypeNamein interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
getParameterClassName
public java.lang.String getParameterClassName(int arg0) throws java.sql.SQLException- Specified by:
getParameterClassNamein interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
getParameterMode
public int getParameterMode(int arg0) throws java.sql.SQLException- Specified by:
getParameterModein interfacejava.sql.ParameterMetaData- Throws:
java.sql.SQLException
-
isWrapperFor
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException- Specified by:
isWrapperForin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-
unwrap
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException- Specified by:
unwrapin interfacejava.sql.Wrapper- Throws:
java.sql.SQLException
-