public class AS400JDBCParameterMetaData
extends java.lang.Object
implements java.sql.ParameterMetaData
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDB2ParameterName(int parameterIndex)
Returns the name of the specified parameter.
|
int |
getParameterCCSID(int parameterIndex)
Returns the CCSID of the specified parameter.
|
java.lang.String |
getParameterClassName(int parameterIndex)
Returns the fully-qualified name of the Java class of the specified parameter.
|
int |
getParameterCount()
Returns the number of parameters in this ParameterMetaData object.
|
int |
getParameterMode(int parameterIndex)
Returns the mode of the specified parameter or if that information is unknown.
|
int |
getParameterType(int parameterIndex)
Returns the SQL type of the specified parameter.
|
java.lang.String |
getParameterTypeName(int parameterIndex)
Returns the database-specific type name of the specified parameter.
|
int |
getPrecision(int parameterIndex)
Returns the number of decimal digits of the specified parameter.
|
int |
getScale(int parameterIndex)
Returns the number of digits to the right of the decimal point
of the specified parameter.
|
protected java.lang.String[] |
getValidWrappedList() |
int |
isNullable(int parameterIndex)
Returns if the specified parameter can be null or that information is unknown.
|
boolean |
isSigned(int parameterIndex)
Returns if values can be signed numbers for the specified parameter.
|
public java.lang.String getDB2ParameterName(int parameterIndex)
throws java.sql.SQLException
parameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public java.lang.String getParameterClassName(int parameterIndex)
throws java.sql.SQLException
getParameterClassName in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public int getParameterCount()
throws java.sql.SQLException
getParameterCount in interface java.sql.ParameterMetaDatajava.sql.SQLException - If the prepared statement is not open.public int getParameterMode(int parameterIndex)
throws java.sql.SQLException
getParameterMode in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public int getParameterType(int parameterIndex)
throws java.sql.SQLException
getParameterType in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public int getParameterCCSID(int parameterIndex)
throws java.sql.SQLException
parameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public java.lang.String getParameterTypeName(int parameterIndex)
throws java.sql.SQLException
getParameterTypeName in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public int getPrecision(int parameterIndex)
throws java.sql.SQLException
getPrecision in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public int getScale(int parameterIndex)
throws java.sql.SQLException
getScale in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public int isNullable(int parameterIndex)
throws java.sql.SQLException
isNullable in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.public boolean isSigned(int parameterIndex)
throws java.sql.SQLException
isSigned in interface java.sql.ParameterMetaDataparameterIndex - The parameter index (1-based).java.sql.SQLException - If the prepared statement is not open.protected java.lang.String[] getValidWrappedList()