public class CallableStatement.CallableStatementParamInfo
extends java.lang.Object
implements java.sql.ParameterMetaData
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
dbInUse |
(package private) boolean |
isFunctionCall |
(package private) boolean |
isReadOnlySafeChecked
synchronized externally in checkReadOnlyProcedure()
|
(package private) boolean |
isReadOnlySafeProcedure
synchronized externally in checkReadOnlyProcedure()
|
(package private) java.lang.String |
nativeSql |
(package private) int |
numParameters |
(package private) java.util.List<CallableStatement.CallableStatementParam> |
parameterList |
(package private) java.util.Map<java.lang.String,CallableStatement.CallableStatementParam> |
parameterMap |
| Constructor and Description |
|---|
CallableStatementParamInfo(CallableStatement.CallableStatementParamInfo fullParamInfo)
Constructor that converts a full list of parameter metadata into one
that only represents the placeholders present in the {CALL ()}.
|
CallableStatementParamInfo(java.sql.ResultSet paramTypesRs) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addParametersFromDBMD(java.sql.ResultSet paramTypesRs) |
protected void |
checkBounds(int paramIndex) |
protected java.lang.Object |
clone() |
(package private) CallableStatement.CallableStatementParam |
getParameter(int index) |
(package private) CallableStatement.CallableStatementParam |
getParameter(java.lang.String name) |
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) |
(package private) java.util.Iterator<CallableStatement.CallableStatementParam> |
iterator() |
(package private) int |
numberOfParameters() |
<T> T |
unwrap(java.lang.Class<T> iface) |
java.lang.String dbInUse
boolean isFunctionCall
java.lang.String nativeSql
int numParameters
java.util.List<CallableStatement.CallableStatementParam> parameterList
java.util.Map<java.lang.String,CallableStatement.CallableStatementParam> parameterMap
boolean isReadOnlySafeProcedure
boolean isReadOnlySafeChecked
CallableStatementParamInfo(CallableStatement.CallableStatementParamInfo fullParamInfo)
fullParamInfo - the metadata for all parameters for this stored
procedure or function.CallableStatementParamInfo(java.sql.ResultSet paramTypesRs)
throws java.sql.SQLException
java.sql.SQLExceptionprivate void addParametersFromDBMD(java.sql.ResultSet paramTypesRs)
throws java.sql.SQLException
java.sql.SQLExceptionprotected void checkBounds(int paramIndex)
throws java.sql.SQLException
java.sql.SQLExceptionprotected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionCallableStatement.CallableStatementParam getParameter(int index)
CallableStatement.CallableStatementParam getParameter(java.lang.String name)
public java.lang.String getParameterClassName(int arg0)
throws java.sql.SQLException
getParameterClassName in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterCount()
throws java.sql.SQLException
getParameterCount in interface java.sql.ParameterMetaDatajava.sql.SQLExceptionpublic int getParameterMode(int arg0)
throws java.sql.SQLException
getParameterMode 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 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 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.SQLExceptionjava.util.Iterator<CallableStatement.CallableStatementParam> iterator()
int numberOfParameters()
public 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