IndexColumn
This represents a column item of an index. This is required because some
indexes support descending sorted columns.
| Methods |
| static void |
mapColumns(IndexColumn[] indexColumns, Table table)
Map the columns using the column names and the specified table.
|
| static void |
mapColumns(IndexColumn[] indexColumns, Table table)
Map the columns using the column names and the specified table.
Parameters:
indexColumns - the column list with column names set
table - the table from where to map the column names to columns
|
| static IndexColumn[] |
wrap(Column[] columns)
Create an array of index columns from a list of columns.
|
| static IndexColumn[] |
wrap(Column[] columns)
Create an array of index columns from a list of columns. The default sort
type is used.
Parameters:
columns - the column list
Returns:
the index column array
|
| String |
getSQL()
Get the SQL snippet for this index column.
|
| String |
getSQL()
Get the SQL snippet for this index column.
Returns:
the SQL snippet
|
| String |
toString()
|
| String |
toString()
|
column
The column, or null if not set.
columnName
The column name.
sortType
The sort type. Ascending (the default) and descending are supported;
nulls can be sorted first or last.