use of org.sirix.index.avltree.keyvalue.NodeReferences in project sirix by sirixdb.
the class SirixNodeKeyStream method next.
@Override
public DBNode next() throws DocumentException {
while (mIter.hasNext()) {
final NodeReferences nodeReferences = mIter.next();
final Set<Long> nodeKeys = nodeReferences.getNodeKeys();
for (final long nodeKey : nodeKeys) {
mRtx.moveTo(nodeKey);
return new DBNode(mRtx, mCollection);
}
}
return null;
}
Aggregations