protected class CallableStatement.CallableStatementParamInfo
extends java.lang.Object
implements java.sql.ParameterMetaData
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
catalogInUse |
(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 |
---|
CallableStatement.CallableStatementParamInfo(CallableStatement.CallableStatementParamInfo fullParamInfo)
Constructor that converts a full list of parameter metadata into one
that only represents the placeholders present in the {CALL ()}.
|
CallableStatement.CallableStatementParamInfo(java.sql.ResultSet paramTypesRs) |
Modifier and Type | Method and Description |
---|---|
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 catalogInUse
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
CallableStatement.CallableStatementParamInfo(CallableStatement.CallableStatementParamInfo fullParamInfo)
fullParamInfo
- the metadata for all parameters for this stored
procedure or function.CallableStatement.CallableStatementParamInfo(java.sql.ResultSet paramTypesRs) throws java.sql.SQLException
java.sql.SQLException
protected void checkBounds(int paramIndex) throws java.sql.SQLException
java.sql.SQLException
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
CallableStatement.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.ParameterMetaData
java.sql.SQLException
public int getParameterCount() throws java.sql.SQLException
getParameterCount
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 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 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 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
java.util.Iterator<CallableStatement.CallableStatementParam> iterator()
int numberOfParameters()
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
java.sql.SQLException
Wrapper.isWrapperFor(Class)
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
java.sql.SQLException
Wrapper.unwrap(Class)