public interface OutParametersMetadata
OUT
parameters of the results returned from a stored procedure.
Metadata for parameters can be either retrieved by specifying a out parameter name or the out parameter index.
Parameter indexes are 0
-based.Modifier and Type | Method and Description |
---|---|
OutParameterMetadata |
getParameterMetadata(int index)
Returns the
OutParameterMetadata for one out parameter. |
OutParameterMetadata |
getParameterMetadata(String name)
Returns the
OutParameterMetadata for one parameter. |
List<? extends OutParameterMetadata> |
getParameterMetadatas()
Returns the
OutParameterMetadata for all out parameters. |
OutParameterMetadata getParameterMetadata(int index)
OutParameterMetadata
for one out parameter.index
- the out parameter index starting at 0OutParameterMetadata
for one out parameterIndexOutOfBoundsException
- if index
is out of range (negative or equals/exceeds getParameterMetadatas().size()
)OutParameterMetadata getParameterMetadata(String name)
OutParameterMetadata
for one parameter.name
- the name of the out parameter. Parameter names are case insensitive.OutParameterMetadata
for one out parameterIllegalArgumentException
- if name
is null
NoSuchElementException
- if there is no out parameter with the name
List<? extends OutParameterMetadata> getParameterMetadatas()
OutParameterMetadata
for all out parameters.OutParameterMetadata
for all out parametersCopyright © 2022. All rights reserved.