|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.table.IndexColumn
public class IndexColumn
This represents a column item of an index. This is required because some indexes support descending sorted columns.
Field Summary | |
---|---|
Column |
column
The column, or null if not set. |
java.lang.String |
columnName
The column name. |
int |
sortType
The sort type. |
Constructor Summary | |
---|---|
IndexColumn()
|
Method Summary | |
---|---|
java.lang.String |
getSQL()
Get the SQL snippet for this index column. |
static void |
mapColumns(IndexColumn[] indexColumns,
Table table)
Map the columns using the column names and the specified table. |
static IndexColumn[] |
wrap(Column[] columns)
Create an array of index columns from a list of columns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String columnName
public Column column
public int sortType
Constructor Detail |
---|
public IndexColumn()
Method Detail |
---|
public java.lang.String getSQL()
public static IndexColumn[] wrap(Column[] columns)
columns
- the column list
public static void mapColumns(IndexColumn[] indexColumns, Table table)
indexColumns
- the column list with column names settable
- the table from where to map the column names to columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |