| Modifier and Type | Field and Description |
|---|---|
| public Column | column
The column, or null if not set. |
| public final String | columnName
The column name. |
| public int | sortType
The sort type. |
| public static final int | SQL_NO_ORDER
Do not append ordering. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | IndexColumn(String
the column name columnName, int the sort type sortType)Creates a new instance with the specified name. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StringBuilder | Returns: the specified string builderstring builder builder, int formatting flags sqlFlags)Appends the SQL snippet for this index column to the specified string builder. |
| public static void | mapColumns(IndexColumn[]
the column list with column names set indexColumns, Table the table from where to map the column names to columns table)Map the columns using the column names and the specified table. |
| public String | |
| public static IndexColumn[] | |
| public static StringBuilder | Returns: the specified string builderstring builder builder, IndexColumn[] index columns columns, int formatting flags sqlFlags)Appends the specified columns to the specified builder. |
| public static StringBuilder | Returns: the specified string builderstring builder builder, IndexColumn[] index columns columns, int start offset, inclusive startOffset, int end offset, exclusive endOffset, int formatting flags sqlFlags)Appends the specified columns to the specified builder. |
| public static StringBuilder | Returns: the specified string builderstring builder builder, IndexColumn[] index columns columns, String separator separator, String additional SQL to append after each column suffix, int formatting flags sqlFlags)Appends the specified columns to the specified builder. |
| column | back to summary |
|---|---|
| public Column column The column, or null if not set. | |
| columnName | back to summary |
|---|---|
| public final String columnName The column name. | |
| sortType | back to summary |
|---|---|
| public int sortType The sort type. Ascending (the default) and descending are supported; nulls can be sorted first or last. | |
| SQL_NO_ORDER | back to summary |
|---|---|
| public static final int SQL_NO_ORDER Do not append ordering. | |
| IndexColumn | back to summary |
|---|---|
| public IndexColumn(String columnName) Creates a new instance with the specified name.
| |
| IndexColumn | back to summary |
|---|---|
| public IndexColumn(String columnName, int sortType) Creates a new instance with the specified name.
| |
| IndexColumn | back to summary |
|---|---|
| public IndexColumn(Column column) Creates a new instance with the specified column.
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Appends the SQL snippet for this index column to the specified string builder.
| |
| mapColumns | back to summary |
|---|---|
| public static void mapColumns(IndexColumn[] indexColumns, Table table) Map the columns using the column names and the specified table.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| wrap | back to summary |
|---|---|
| public static IndexColumn[] wrap(Column[] columns) Create an array of index columns from a list of columns. The default sort type is used.
| |
| writeColumns | back to summary |
|---|---|
| public static StringBuilder writeColumns(StringBuilder builder, IndexColumn[] columns, int sqlFlags) Appends the specified columns to the specified builder.
| |
| writeColumns | back to summary |
|---|---|
| public static StringBuilder writeColumns(StringBuilder builder, IndexColumn[] columns, int startOffset, int endOffset, int sqlFlags) Appends the specified columns to the specified builder.
| |
| writeColumns | back to summary |
|---|---|
| public static StringBuilder writeColumns(StringBuilder builder, IndexColumn[] columns, String separator, String suffix, int sqlFlags) Appends the specified columns to the specified builder.
| |