/** * Map the columns using the column names and the specified table. * * @param indexColumns the column list with column names set * @param table the table from where to map the column names to columns */ public static void mapColumns(IndexColumn[] indexColumns, Table table) { for (IndexColumn col : indexColumns) { col.column = table.getColumn(col.columnName); } }
private Column parseColumn(Table table) { String id = readColumnIdentifier(); if (database.getSettings().rowId && Column.ROWID.equals(id)) { return table.getRowIdColumn(); } return table.getColumn(id); }
return filter.getTable().getColumn(columnName);
return new NoOperation(session); command.setOldColumn(table.getColumn(columnName)); return command; Column column = table.getColumn(columnName); String newColumnName = readColumnIdentifier(); Column column = table.getColumn(columnName); return parseAlterTableAlterColumnType(table, columnName, column); } else if (readIf("ALTER")) { readIf("COLUMN"); String columnName = readColumnIdentifier(); Column column = table.getColumn(columnName); if (readIf("RENAME")) { read("TO");