• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/collections/

Lines Matching refs:cursor

76     private DataCursor cursor;
90 this.cursor = new DataCursor(coll.view, writeAllowed);
92 this.cursor = joinCursor;
96 /* Ensure that the cursor is closed. [#10516] */
107 * cursor.
120 * cursor.
144 if (cursor == null) {
173 if (cursor == null) {
210 currentData = coll.makeIteratorData(this, cursor);
243 currentData = coll.makeIteratorData(this, cursor);
281 return hasNext() ? (cursor.getCurrentRecordNumber() -
310 return hasPrevious() ? (cursor.getCurrentRecordNumber() -
347 cursor.putCurrent(value);
379 cursor.delete();
426 * Close cursor during append and then reopen to support
428 * cursor open; note the append will still fail if the
429 * application has another cursor open.
433 cursor = new DataCursor(coll.view, writeAllowed);
445 status = cursor.putBefore(value);
448 status = cursor.putAfter(value);
452 status = cursor.putNoDupData(null, value, null, true);
454 status = cursor.putBefore(value);
457 status = cursor.putAfter(value);
480 * Resets cursor to an uninitialized state.
489 * Initialize cursor at beginning to avoid "initial previous == last"
490 * behavior when cursor is uninitialized.
515 return cursor.count();
537 if (cursor != null) {
538 coll.closeCursor(cursor);
539 cursor = null;
561 o.cursor = cursor.cloneCursor();
577 cursor.getSearchKey(new Integer(index), null, lockForWrite);
602 return cursor.getNext(lockForWrite);
604 return cursor.getNextNoDup(lockForWrite);
608 return cursor.getPrev(lockForWrite);
610 return cursor.getPrevNoDup(lockForWrite);
613 return cursor.getFirst(lockForWrite);