use of org.apache.jena.tdb.base.record.Record in project jena by apache.
the class DebugTDB method dumpIndex.
public static void dumpIndex(TupleIndex idx) {
Iterator<Tuple<NodeId>> iter = idx.all();
while (iter.hasNext()) {
Tuple<NodeId> tuple = iter.next();
System.out.println(tuple);
}
if (false) {
// Dump raw
TupleIndexRecord tir = (TupleIndexRecord) idx;
RangeIndex rIdx = tir.getRangeIndex();
for (Record aRIdx : rIdx) {
System.out.println(aRIdx);
}
}
}
Aggregations