public class ParameterMetaDataWrapper
extends java.lang.Object
implements java.sql.ParameterMetaData
| Modifier and Type | Field and Description |
|---|---|
protected java.sql.ParameterMetaData |
parameterMetaData |
protected ConnectionPluginManager |
pluginManager |
| Constructor and Description |
|---|
ParameterMetaDataWrapper(@NonNull java.sql.ParameterMetaData parameterMetaData,
@NonNull ConnectionPluginManager pluginManager) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getParameterClassName(int param) |
int |
getParameterCount() |
int |
getParameterMode(int param) |
int |
getParameterType(int param) |
java.lang.String |
getParameterTypeName(int param) |
int |
getPrecision(int param) |
int |
getScale(int param) |
int |
isNullable(int param) |
boolean |
isSigned(int param) |
boolean |
isWrapperFor(java.lang.Class<?> iface) |
java.lang.String |
toString() |
<T> T |
unwrap(java.lang.Class<T> iface) |
protected java.sql.ParameterMetaData parameterMetaData
protected ConnectionPluginManager pluginManager
public ParameterMetaDataWrapper(@NonNull java.sql.ParameterMetaData parameterMetaData,
@NonNull ConnectionPluginManager pluginManager)
public int getParameterCount()
throws java.sql.SQLException
getParameterCount in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int isNullable(int param)
throws java.sql.SQLException
isNullable in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic boolean isSigned(int param)
throws java.sql.SQLException
isSigned in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getPrecision(int param)
throws java.sql.SQLException
getPrecision in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getScale(int param)
throws java.sql.SQLException
getScale in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterType(int param)
throws java.sql.SQLException
getParameterType in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic java.lang.String getParameterTypeName(int param)
throws java.sql.SQLException
getParameterTypeName in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic java.lang.String getParameterClassName(int param)
throws java.sql.SQLException
getParameterClassName in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterMode(int param)
throws java.sql.SQLException
getParameterMode in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap in interface java.sql.Wrapperjava.sql.SQLExceptionpublic boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor in interface java.sql.Wrapperjava.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object