285286287288289290291292
indexColumn = -1; metaIndex = null; } else { indexColumn = getColumn(indexColumnName).getColumnId(); IndexColumn[] indexCols = IndexColumn.wrap(new Column[] { cols[indexColumn] }); metaIndex = new MetaIndex(this, indexCols, false); } }
1478147914801481148214831484
public String getTableType() { return Table.SYSTEM_TABLE; } public Index getScanIndex(Session session) { return new MetaIndex(this, IndexColumn.wrap(columns), true); }
1486148714881489149014911492149314941495
public ArrayList<Index> getIndexes() { ArrayList<Index> list = New.arrayList(); if (metaIndex == null) { return list; } list.add(new MetaIndex(this, IndexColumn.wrap(columns), true)); // TODO re-use the index list.add(metaIndex); return list; }