|
||||||||
| 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.JdbcResultSetMetaData
public class JdbcResultSetMetaData
Represents the meta data for a ResultSet.
| 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.ResultSetMetaData |
|---|
columnNoNulls, columnNullable, columnNullableUnknown |
| Method Summary | |
|---|---|
java.lang.String |
getCatalogName(int column)
Returns the catalog name. |
java.lang.String |
getColumnClassName(int column)
Gets the Java class name of the object that will be returned if ResultSet.getObject is called. |
int |
getColumnCount()
Returns the number of columns. |
int |
getColumnDisplaySize(int column)
Gets the maximum display size for this column. |
java.lang.String |
getColumnLabel(int column)
Returns the column label. |
java.lang.String |
getColumnName(int column)
Returns the column name. |
int |
getColumnType(int column)
Returns the data type of a column. |
java.lang.String |
getColumnTypeName(int column)
Returns the data type name of a column. |
int |
getPrecision(int column)
Gets the precision for this column. |
int |
getScale(int column)
Gets the scale for this column. |
java.lang.String |
getSchemaName(int column)
Returns the schema name. |
java.lang.String |
getTableName(int column)
Returns the table name. |
boolean |
isAutoIncrement(int column)
Checks if this an autoincrement column. |
boolean |
isCaseSensitive(int column)
Checks if this column is case sensitive. |
boolean |
isCurrency(int column)
Checks if this is a currency column. |
boolean |
isDefinitelyWritable(int column)
Checks whether a write on this column will definitely succeed. |
int |
isNullable(int column)
Checks if this is nullable column. |
boolean |
isReadOnly(int column)
Checks if this column is read only. |
boolean |
isSearchable(int column)
Checks if this column is searchable. |
boolean |
isSigned(int column)
Checks if this column is signed. |
boolean |
isWritable(int column)
Checks whether it is possible for a write on this column to succeed. |
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 getColumnCount()
throws java.sql.SQLException
getColumnCount in interface java.sql.ResultSetMetaDatajava.sql.SQLException - if the result set is closed or invalid
public java.lang.String getColumnLabel(int column)
throws java.sql.SQLException
getColumnLabel in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public java.lang.String getColumnName(int column)
throws java.sql.SQLException
getColumnName in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public int getColumnType(int column)
throws java.sql.SQLException
getColumnType in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public java.lang.String getColumnTypeName(int column)
throws java.sql.SQLException
getColumnTypeName in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public java.lang.String getSchemaName(int column)
throws java.sql.SQLException
getSchemaName in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public java.lang.String getTableName(int column)
throws java.sql.SQLException
getTableName in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public java.lang.String getCatalogName(int column)
throws java.sql.SQLException
getCatalogName in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isAutoIncrement(int column)
throws java.sql.SQLException
isAutoIncrement in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isCaseSensitive(int column)
throws java.sql.SQLException
isCaseSensitive in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isSearchable(int column)
throws java.sql.SQLException
isSearchable in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isCurrency(int column)
throws java.sql.SQLException
isCurrency in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public int isNullable(int column)
throws java.sql.SQLException
isNullable in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isSigned(int column)
throws java.sql.SQLException
isSigned in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isReadOnly(int column)
throws java.sql.SQLException
isReadOnly in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isWritable(int column)
throws java.sql.SQLException
isWritable in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public boolean isDefinitelyWritable(int column)
throws java.sql.SQLException
isDefinitelyWritable in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public java.lang.String getColumnClassName(int column)
throws java.sql.SQLException
getColumnClassName in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public int getPrecision(int column)
throws java.sql.SQLException
getPrecision in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public int getScale(int column)
throws java.sql.SQLException
getScale in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalid
public int getColumnDisplaySize(int column)
throws java.sql.SQLException
getColumnDisplaySize in interface java.sql.ResultSetMetaDatacolumn - the column index (1,2,...)
java.sql.SQLException - if the result set is closed or invalidpublic 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 | |||||||