515516517518519520521522
if (indexColumnName == null) { indexColumn = -1; } else { indexColumn = getColumn(indexColumnName).getColumnId(); IndexColumn[] indexCols = IndexColumn.wrap(new Column[] { cols[indexColumn] }); metaIndex = new MetaIndex(this, indexCols, false); } }
1744174517461747174817491750
public String getTableType() { return Table.SYSTEM_TABLE; } public Index getScanIndex(Session session) { return new MetaIndex(this, IndexColumn.wrap(columns), true); }
1752175317541755175617571758175917601761
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; }
1749175017511752175317541755
1757175817591760176117621763176417651766
1724172517261727172817291730
1732173317341735173617371738173917401741
32333435363738394041
testReadOnly(); testAdapter(); } private static void testAdapter() { TraceSystem ts = new TraceSystem(null); ts.setLevelFile(TraceSystem.ADAPTER); ts.getTrace("test").info("test"); ts.close(); }