public final class JdbcParameterMetaData
extends org.h2.message.TraceObject
implements java.sql.ParameterMetaData
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameterClassName(int param)
Returns the Java class name of the parameter.
|
int |
getParameterCount()
Returns the number of parameters.
|
int |
getParameterMode(int param)
Returns the parameter mode.
|
int |
getParameterType(int param)
Returns the parameter type.
|
java.lang.String |
getParameterTypeName(int param)
Returns the parameter type name.
|
int |
getPrecision(int param)
Returns the parameter precision.
|
int |
getScale(int param)
Returns the parameter scale.
|
int |
isNullable(int param)
Checks if this is nullable parameter.
|
boolean |
isSigned(int param)
Checks if this parameter is signed.
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
Checks if unwrap can return an object of this class.
|
java.lang.String |
toString()
INTERNAL
|
<T> T |
unwrap(java.lang.Class<T> iface)
Return an object of this class if possible.
|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
public int getParameterCount() throws java.sql.SQLException
getParameterCount
in interface java.sql.ParameterMetaData
java.sql.SQLException
public int getParameterMode(int param) throws java.sql.SQLException
getParameterMode
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public int getParameterType(int param) throws java.sql.SQLException
getParameterType
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public int getPrecision(int param) throws java.sql.SQLException
getPrecision
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public int getScale(int param) throws java.sql.SQLException
getScale
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public int isNullable(int param) throws java.sql.SQLException
isNullable
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public boolean isSigned(int param) throws java.sql.SQLException
isSigned
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public java.lang.String getParameterClassName(int param) throws java.sql.SQLException
getParameterClassName
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public java.lang.String getParameterTypeName(int param) throws java.sql.SQLException
getParameterTypeName
in interface java.sql.ParameterMetaData
param
- the column index (1,2,...)java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException
unwrap
in interface java.sql.Wrapper
iface
- the classjava.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException
isWrapperFor
in interface java.sql.Wrapper
iface
- the classjava.sql.SQLException
public java.lang.String toString()
toString
in class java.lang.Object