DbColumn
Keeps the meta data information of a column.
This class is used by the H2 Console.
| Methods |
| static DbColumn |
getColumn(DbContents contents, ResultSet rs)
Create a column from a DatabaseMetaData.getColumns row.
|
| static DbColumn |
getColumn(DbContents contents, ResultSet rs) throws SQLException
Create a column from a DatabaseMetaData.getColumns row.
Parameters:
contents - the database contents
rs - the result set
Returns:
the column
|
| static DbColumn |
getProcedureColumn(DbContents contents, ResultSet rs)
Create a column from a DatabaseMetaData.getProcedureColumns row.
|
| static DbColumn |
getProcedureColumn(DbContents contents, ResultSet rs) throws SQLException
Create a column from a DatabaseMetaData.getProcedureColumns row.
Parameters:
contents - the database contents
rs - the result set
Returns:
the column
|
| String |
getDataType()
|
| String |
getDataType()
Returns:
The data type name (including precision and the NOT NULL flag if
applicable).
|
| String |
getName()
|
| String |
getName()
Returns:
The column name.
|
| int |
getPosition()
|
| int |
getPosition()
Returns:
Column index
|
| String |
getQuotedName()
|
| String |
getQuotedName()
Returns:
The quoted table name.
|
|