|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.message.TraceObject
org.h2.jdbc.JdbcParameterMetaData
public class JdbcParameterMetaData
Information about the parameters of a prepared statement.
| Field Summary |
|---|
| Fields inherited from class org.h2.message.TraceObject |
|---|
ARRAY, BLOB, CALLABLE_STATEMENT, CLOB, CONNECTION, DATA_SOURCE, DATABASE_META_DATA, PARAMETER_META_DATA, PREPARED_STATEMENT, RESULT_SET, RESULT_SET_META_DATA, SAVEPOINT, SQL_EXCEPTION, STATEMENT, trace, XA_DATA_SOURCE, XA_RESOURCE, XID |
| Fields inherited from interface java.sql.ParameterMetaData |
|---|
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown |
| Method Summary | |
|---|---|
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. |
java.lang.String |
toString()
INTERNAL |
| Methods inherited from class org.h2.message.TraceObject |
|---|
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTrace, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getParameterCount()
throws java.sql.SQLException
getParameterCount in interface java.sql.ParameterMetaDatajava.sql.SQLException
public int getParameterMode(int param)
throws java.sql.SQLException
getParameterMode in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public int getParameterType(int param)
throws java.sql.SQLException
getParameterType in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public int getPrecision(int param)
throws java.sql.SQLException
getPrecision in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public int getScale(int param)
throws java.sql.SQLException
getScale in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public int isNullable(int param)
throws java.sql.SQLException
isNullable in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public boolean isSigned(int param)
throws java.sql.SQLException
isSigned in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public java.lang.String getParameterClassName(int param)
throws java.sql.SQLException
getParameterClassName in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLException
public java.lang.String getParameterTypeName(int param)
throws java.sql.SQLException
getParameterTypeName in interface java.sql.ParameterMetaDataparam - the column index (1,2,...)
java.sql.SQLExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||