| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final ParameterValueSet | |
| private final DataTypeDescriptor[] |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public String | Returns: the fully-qualified name of the class in the Java programming language that would be used by the method PreparedStatement.setObject to set the value in the specified parameter. This is the class name used for custom mapping.- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject. |
| public int | Returns: the number of parametersImplements java. Retrieves the number of parameters in the PreparedStatement object for which this ParameterMetaData object contains information. |
| public int | Returns: mode of the parameter; one of ParameterMetaData.parameterModeIn, ParameterMetaData.parameterModeOut, or ParameterMetaData.parameterModeInOut ParameterMetaData.parameterModeUnknown.- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's mode. |
| public int | Returns: SQL type from java.sql.Types- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's SQL type. |
| public String | Returns: type the name used by the database. If the parameter type is a user-defined type, then a fully-qualified type name is returned.- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's database-specific type name. |
| public int | Returns: precision- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's number of decimal digits. |
| public int | Returns: scale- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves the designated parameter's number of digits to right of the decimal point. |
| public int | Returns: the nullability status of the given parameter; one of ParameterMetaData.parameterNoNulls, ParameterMetaData.parameterNullable, or ParameterMetaData.parameterNullableUnknown- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves whether null values are allowed in the designated parameter. |
| public boolean | Returns: true if it can be signed numbers- the first parameter is 1, the second is 2, ... param)Implements java. Retrieves whether values for the designated parameter can be signed numbers. |
| public boolean | Returns: true if this implements the interface or directly or indirectly wraps an object that doesa class defining an interface iface)Implements java. Returns false unless |
| public <T> T | Returns: an object that implements the interfacea class defining an interface iface)Implements java. Returns |
| paramCount | back to summary |
|---|---|
| private final int paramCount | |
| pvs | back to summary |
|---|---|
| private final ParameterValueSet pvs | |
| types | back to summary |
|---|---|
| private final DataTypeDescriptor[] types | |
| EmbedParameterSetMetaData | back to summary |
|---|---|
| protected EmbedParameterSetMetaData(ParameterValueSet pvs, DataTypeDescriptor[] types) | |
| checkPosition | back to summary |
|---|---|
| private void checkPosition(int parameterIndex) throws SQLException | |
| getParameterClassName | back to summary |
|---|---|
| public String getParameterClassName(int param) throws SQLException Implements java. Retrieves the fully-qualified name of the Java class whose instances should be passed to the method PreparedStatement.setObject.
| |
| getParameterCount | back to summary |
|---|---|
| public int getParameterCount() Implements java. Retrieves the number of parameters in the PreparedStatement object for which this ParameterMetaData object contains information.
| |
| getParameterMode | back to summary |
|---|---|
| public int getParameterMode(int param) throws SQLException Implements java. Retrieves the designated parameter's mode.
| |
| getParameterType | back to summary |
|---|---|
| public int getParameterType(int param) throws SQLException Implements java. Retrieves the designated parameter's SQL type.
| |
| getParameterTypeName | back to summary |
|---|---|
| public String getParameterTypeName(int param) throws SQLException Implements java. Retrieves the designated parameter's database-specific type name.
| |
| getPrecision | back to summary |
|---|---|
| public int getPrecision(int param) throws SQLException Implements java. Retrieves the designated parameter's number of decimal digits.
| |
| getScale | back to summary |
|---|---|
| public int getScale(int param) throws SQLException Implements java. Retrieves the designated parameter's number of digits to right of the decimal point.
| |
| isNullable | back to summary |
|---|---|
| public int isNullable(int param) throws SQLException Implements java. Retrieves whether null values are allowed in the designated parameter.
| |
| isSigned | back to summary |
|---|---|
| public boolean isSigned(int param) throws SQLException Implements java. Retrieves whether values for the designated parameter can be signed numbers.
| |
| isWrapperFor | back to summary |
|---|---|
| public boolean isWrapperFor(Class<?> iface) throws SQLException Implements java. Returns false unless
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> iface) throws SQLException Implements java. Returns
| |