• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/

Lines Matching +defs:db +defs:cursor

18 import com.sleepycat.db.Cursor;
19 import com.sleepycat.db.CursorConfig;
20 import com.sleepycat.db.DatabaseEntry;
21 import com.sleepycat.db.DatabaseException;
22 import com.sleepycat.db.Environment;
23 import com.sleepycat.db.LockMode;
24 import com.sleepycat.db.OperationStatus;
25 import com.sleepycat.db.SecondaryCursor;
26 import com.sleepycat.db.SecondaryDatabase;
27 import com.sleepycat.db.Transaction;
44 private SecondaryDatabase db;
64 db = secIndex.getDatabase();
68 DbCompat.getInitializeLocking(db.getEnvironment().getConfig());
99 db.getSearchBoth(txn, keyEntry, pkeyEntry, dataEntry, lockMode);
117 db.getSearchBoth(txn, keyEntry, pkeyEntry, dataEntry, lockMode);
131 EntityCursor<PK> cursor = keys(null, cursorConfig);
133 if (cursor.next() != null) {
134 return cursor.count();
139 cursor.close();
157 Environment env = db.getEnvironment();
167 SecondaryCursor cursor = db.openSecondaryCursor(txn, null);
169 status = cursor.getSearchBoth
173 status = cursor.delete();
177 cursor.close();
199 return cursor(txn, null, keyAdapter, config);
205 return cursor(null, null, entityAdapter, null);
212 return cursor(txn, null, entityAdapter, config);
221 return cursor(null, fromKey, fromInclusive, toKey, toInclusive,
233 return cursor(txn, fromKey, fromInclusive, toKey, toInclusive,
243 return cursor(null, fromKey, fromInclusive, toKey, toInclusive,
255 return cursor(txn, fromKey, fromInclusive, toKey, toInclusive,
289 private <V> EntityCursor<V> cursor(Transaction txn,
310 return cursor(txn, pkeyRange, adapter, config);
313 private <V> EntityCursor<V> cursor(Transaction txn,
319 Cursor cursor = db.openCursor(txn, config);
321 new RangeCursor(singleKeyRange, pkeyRange, sortedDups, cursor);