Lines Matching refs:cursor
509 try (Cursor<ByteString, ByteString> cursor = txn.openCursor(getName()))
511 final long[] selectedIDs = readRange(cursor, getEntryCount(txn), debugBuilder);
536 try (Cursor<ByteString, ByteString> cursor = txn.openCursor(getName()))
542 if (cursor.positionToKeyOrNext(encodedTargetAssertion) && cursor.positionToIndex(0))
552 final ByteString key = cursor.getKey();
580 while (cursor.next());
682 try (Cursor<ByteString, ByteString> cursor = txn.openCursor(getName()))
685 if (cursor.positionToIndex(startPos))
687 selectedIDs = readRange(cursor, count, debugBuilder);
698 private long[] readRange(final Cursor<ByteString, ByteString> cursor, final int count,
707 final ByteString key = cursor.getKey();
714 while (selectedPos < count && cursor.next());