Class CallableStatement.CallableStatementParamInfo
java.lang.Object
com.mysql.jdbc.CallableStatement.CallableStatementParamInfo
- All Implemented Interfaces:
ParameterMetaData, Wrapper
- Enclosing class:
CallableStatement
protected class CallableStatement.CallableStatementParamInfo
extends Object
implements ParameterMetaData
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) boolean(package private) booleansynchronized externally in checkReadOnlyProcedure()(package private) booleansynchronized externally in checkReadOnlyProcedure()(package private) String(package private) int(package private) List<CallableStatement.CallableStatementParam> (package private) Map<String, CallableStatement.CallableStatementParam> Fields inherited from interface ParameterMetaData
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown -
Constructor Summary
ConstructorsConstructorDescriptionConstructor that converts a full list of parameter metadata into one that only represents the placeholders present in the {CALL ()}.CallableStatementParamInfo(ResultSet paramTypesRs) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckBounds(int paramIndex) protected Objectclone()(package private) CallableStatement.CallableStatementParamgetParameter(int index) (package private) CallableStatement.CallableStatementParamgetParameter(String name) getParameterClassName(int arg0) intintgetParameterMode(int arg0) intgetParameterType(int arg0) getParameterTypeName(int arg0) intgetPrecision(int arg0) intgetScale(int arg0) intisNullable(int arg0) booleanisSigned(int arg0) booleanisWrapperFor(Class<?> iface) (package private) Iterator<CallableStatement.CallableStatementParam> iterator()(package private) int<T> T
-
Field Details
-
catalogInUse
String catalogInUse -
isFunctionCall
boolean isFunctionCall -
nativeSql
String nativeSql -
numParameters
int numParameters -
parameterList
List<CallableStatement.CallableStatementParam> parameterList -
parameterMap
Map<String, CallableStatement.CallableStatementParam> parameterMap -
isReadOnlySafeProcedure
boolean isReadOnlySafeProceduresynchronized externally in checkReadOnlyProcedure() -
isReadOnlySafeChecked
boolean isReadOnlySafeCheckedsynchronized externally in checkReadOnlyProcedure()
-
-
Constructor Details
-
CallableStatementParamInfo
CallableStatementParamInfo(CallableStatement.CallableStatementParamInfo fullParamInfo) Constructor that converts a full list of parameter metadata into one that only represents the placeholders present in the {CALL ()}.- Parameters:
fullParamInfo- the metadata for all parameters for this stored procedure or function.
-
CallableStatementParamInfo
CallableStatementParamInfo(ResultSet paramTypesRs) throws SQLException - Throws:
SQLException
-
-
Method Details
-
checkBounds
- Throws:
SQLException
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
getParameter
-
getParameter
-
getParameterClassName
- Specified by:
getParameterClassNamein interfaceParameterMetaData- Throws:
SQLException
-
getParameterCount
- Specified by:
getParameterCountin interfaceParameterMetaData- Throws:
SQLException
-
getParameterMode
- Specified by:
getParameterModein interfaceParameterMetaData- Throws:
SQLException
-
getParameterType
- Specified by:
getParameterTypein interfaceParameterMetaData- Throws:
SQLException
-
getParameterTypeName
- Specified by:
getParameterTypeNamein interfaceParameterMetaData- Throws:
SQLException
-
getPrecision
- Specified by:
getPrecisionin interfaceParameterMetaData- Throws:
SQLException
-
getScale
- Specified by:
getScalein interfaceParameterMetaData- Throws:
SQLException
-
isNullable
- Specified by:
isNullablein interfaceParameterMetaData- Throws:
SQLException
-
isSigned
- Specified by:
isSignedin interfaceParameterMetaData- Throws:
SQLException
-
iterator
Iterator<CallableStatement.CallableStatementParam> iterator() -
numberOfParameters
int numberOfParameters() -
isWrapperFor
- Specified by:
isWrapperForin interfaceWrapper- Throws:
SQLException- See Also:
-
unwrap
- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException- See Also:
-