public class IndexColumn extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
Column |
column
The column, or null if not set.
|
String |
columnName
The column name.
|
int |
sortType
The sort type.
|
| 构造器和说明 |
|---|
IndexColumn() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
String |
toString() |
static IndexColumn[] |
wrap(Column[] columns)
Create an array of index columns from a list of columns.
|
public String columnName
public Column column
public int sortType
public String getSQL()
public static IndexColumn[] wrap(Column[] columns)
columns - the column listpublic 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 columnsCopyright © 2017. All rights reserved.