final ODocument document = entries.next().getRecord();
/** * {@inheritDoc} */ @Override public OIdentifiable next() { if (source.isRebuilding()) throwRebuildException(); final OIdentifiable next = delegate.next(); if (source.getRebuildVersion() != indexRebuildVersion) throwRebuildException(); return next; }
else { while (cursor.hasNext()) { cursor.next(); count++;