ParameterMetaData (Java SE 26 & JDK 26)
- All Superinterfaces:
Wrapper
-
Field Summary
Fields
static final intThe constant indicating that the parameter's mode is IN.
static final intThe constant indicating that the parameter's mode is INOUT.
static final intThe constant indicating that the parameter's mode is OUT.
static final intThe constant indicating that the mode of the parameter is unknown.
static final intThe constant indicating that a parameter will not allow
NULLvalues.static final intThe constant indicating that a parameter will allow
NULLvalues.static final intThe constant indicating that the nullability of a parameter is unknown.
-
Method Summary
getParameterClassName(int param) Retrieves the fully-qualified name of the Java class whose instances should be passed to the method
PreparedStatement.setObject.intRetrieves the number of parameters in the
PreparedStatementobject for which thisParameterMetaDataobject contains information.intgetParameterMode(int param) Retrieves the designated parameter's mode.
intgetParameterType(int param) Retrieves the designated parameter's SQL type.
getParameterTypeName(int param) Retrieves the designated parameter's database-specific type name.
intgetPrecision(int param) Retrieves the designated parameter's specified column size.
intgetScale(int param) Retrieves the designated parameter's number of digits to right of the decimal point. 0 is returned for data types where the scale is not applicable.
intisNullable(int param) Retrieves whether null values are allowed in the designated parameter.
booleanisSigned(int param) Retrieves whether values for the designated parameter can be signed numbers.
Methods declared in interface Wrapper
booleanReturns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.
<T> TReturns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.
-
Field Details
-
parameterNoNulls
-
parameterNullable
-
parameterNullableUnknown
-
parameterModeUnknown
-
parameterModeIn
-
parameterModeInOut
-
parameterModeOut
-
-
Method Details
-
getParameterCount
-
isNullable
-
isSigned
-
getPrecision
-
getScale
-
getParameterType
-
getParameterTypeName
-
getParameterClassName
-
getParameterMode
-