• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/db/

Lines Matching defs:db

9 package com.sleepycat.db;
11 import com.sleepycat.db.internal.Db;
12 import com.sleepycat.db.internal.DbConstants;
13 import com.sleepycat.db.internal.DbSequence;
14 import com.sleepycat.db.internal.Dbc;
19 Database attributes are specified in the {@link com.sleepycat.db.DatabaseConfig DatabaseConfig} class.
39 Db db;
44 Database(final Db db)
47 this.db = db;
48 db.wrapper = this;
50 db.get_transactional() ? DbConstants.DB_AUTO_COMMIT : 0;
51 rmwFlag = ((db.get_env().get_open_flags() &
69 Storage and retrieval are based on key/data pairs; see {@link com.sleepycat.db.DatabaseEntry DatabaseEntry}
106 new Environment(db.get_env());
117 committed or aborted. Specifically, this includes {@link com.sleepycat.db.Cursor Cursor} and
118 {@link com.sleepycat.db.Transaction Transaction} handles.
121 with the {@link com.sleepycat.db.Database#close Database.close} or {@link com.sleepycat.db.Database#sync Database.sync} methods
124 When multiple threads are using the {@link com.sleepycat.db.Database Database} handle
159 db.close(noSync ? DbConstants.DB_NOSYNC : 0);
170 committed or aborted. Specifically, this includes {@link com.sleepycat.db.Cursor Cursor} and
171 {@link com.sleepycat.db.Transaction Transaction} handles.
174 with the {@link com.sleepycat.db.Database#close Database.close} or {@link com.sleepycat.db.Database#sync Database.sync} methods
177 When multiple threads are using the {@link com.sleepycat.db.Database Database} handle
236 db.compact((txn == null) ? null : txn.txn,
266 db, (txn == null) ? null : txn.txn), config);
278 The key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} of the sequence.
294 db, (txn == null) ? null : txn.txn, key), config);
307 The key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} of the sequence.
319 db, (txn == null) ? null : txn.txn, key);
321 (txn == null && db.get_transactional()) ?
337 return db.get_filename();
351 return db.get_dbname();
369 return new DatabaseConfig(db);
385 config.configureDatabase(db, getConfig());
389 Return the {@link com.sleepycat.db.Environment Environment} handle for the database environment
390 underlying the {@link com.sleepycat.db.Database Database}.
395 The {@link com.sleepycat.db.Environment Environment} handle for the database environment
396 underlying the {@link com.sleepycat.db.Database Database}.
404 return db.get_env().wrapper;
421 return new CacheFile(db.get_mpf());
438 If a callback function is specified using {@link com.sleepycat.db.DatabaseConfig#setRecordNumberAppender DatabaseConfig.setRecordNumberAppender}, it will be called after the record number has
446 @param key the key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} operated on.
448 @param data the data {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} stored.
463 db.put((txn == null) ? null : txn.txn, key, data,
491 @return {@link com.sleepycat.db.OperationStatus#NOTFOUND OperationStatus.NOTFOUND} if no matching key/data pair is
492 found; {@link com.sleepycat.db.OperationStatus#KEYEMPTY OperationStatus.KEYEMPTY} if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, {@link com.sleepycat.db.OperationStatus#SUCCESS OperationStatus.SUCCESS}.
509 db.get((txn == null) ? null : txn.txn,
530 @param key the key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} operated on.
533 The method will return {@link com.sleepycat.db.OperationStatus#NOTFOUND OperationStatus.NOTFOUND} if the
535 The method will return {@link com.sleepycat.db.OperationStatus#KEYEMPTY OperationStatus.KEYEMPTY} if the
539 otherwise the method will return {@link com.sleepycat.db.OperationStatus#SUCCESS OperationStatus.SUCCESS}.
552 db.del((txn == null) ? null : txn.txn, key,
569 @return {@link com.sleepycat.db.OperationStatus#NOTFOUND OperationStatus.NOTFOUND} if no matching key/data pair is
570 found; {@link com.sleepycat.db.OperationStatus#KEYEMPTY OperationStatus.KEYEMPTY} if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, {@link com.sleepycat.db.OperationStatus#SUCCESS OperationStatus.SUCCESS}.
585 db.exists((txn == null) ? null : txn.txn, key,
611 @return {@link com.sleepycat.db.OperationStatus#NOTFOUND OperationStatus.NOTFOUND} if no matching key/data pair is
612 found; {@link com.sleepycat.db.OperationStatus#KEYEMPTY OperationStatus.KEYEMPTY} if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, {@link com.sleepycat.db.OperationStatus#SUCCESS OperationStatus.SUCCESS}.
629 db.get((txn == null) ? null : txn.txn,
645 The key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} being compared.
668 db.key_range((txn == null) ? null : txn.txn, key, range, 0);
690 @return {@link com.sleepycat.db.OperationStatus#NOTFOUND OperationStatus.NOTFOUND} if no matching key/data pair is
691 found; {@link com.sleepycat.db.OperationStatus#KEYEMPTY OperationStatus.KEYEMPTY} if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, {@link com.sleepycat.db.OperationStatus#SUCCESS OperationStatus.SUCCESS}.
708 db.get((txn == null) ? null : txn.txn,
719 record number, as described in {@link com.sleepycat.db.DatabaseEntry DatabaseEntry}. This determines
742 that is a subclass of {@link com.sleepycat.db.MultipleEntry MultipleEntry}, otherwise its byte array does not
745 @return {@link com.sleepycat.db.OperationStatus#NOTFOUND OperationStatus.NOTFOUND} if no matching key/data pair is
746 found; {@link com.sleepycat.db.OperationStatus#KEYEMPTY OperationStatus.KEYEMPTY} if the database is a Queue or Recno database and the specified key exists, but was never explicitly created by the application or was later deleted; otherwise, {@link com.sleepycat.db.OperationStatus#SUCCESS OperationStatus.SUCCESS}.
755 db.get((txn == null) ? null : txn.txn,
779 @param key the key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} operated on.
781 @param data the data {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} stored.
796 db.put((txn == null) ? null : txn.txn,
815 @param key the key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} operated on.
817 @param data the data {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} stored.
821 return {@link com.sleepycat.db.OperationStatus#KEYEXIST OperationStatus.KEYEXIST}.
835 db.put((txn == null) ? null : txn.txn,
854 @param key the key {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} operated on.
856 @param data the data {@link com.sleepycat.db.DatabaseEntry DatabaseEntry} stored.
860 {@link com.sleepycat.db.OperationStatus#KEYEXIST OperationStatus.KEYEXIST}.
874 db.put((txn == null) ? null : txn.txn,
918 db.join(dbcList, config.getFlags()), config);
951 int count = db.truncate((txn == null) ? null : txn.txn,
961 (using the {@link com.sleepycat.db.StatsConfig#setFast StatsConfig.setFast} method), it will access
970 configured using the {@link com.sleepycat.db.StatsConfig#setFast StatsConfig.setFast} method, cached
994 return (DatabaseStats)db.stat((txn == null) ? null : txn.txn,
1004 Applications should never remove databases with open {@link com.sleepycat.db.Database Database}
1016 {@link com.sleepycat.db.EnvironmentConfig#addDataDir EnvironmentConfig.addDataDir}, or by setting the "set_data_dir"
1019 The {@link com.sleepycat.db.Database Database} handle may not be accessed
1041 final Db db = DatabaseConfig.checkNull(config).createDatabase(null);
1042 db.remove(fileName, databaseName, 0);
1065 {@link com.sleepycat.db.EnvironmentConfig#addDataDir EnvironmentConfig.addDataDir}, or by setting the "set_data_dir"
1068 The {@link com.sleepycat.db.Database Database} handle may not be accessed
1094 final Db db = DatabaseConfig.checkNull(config).createDatabase(null);
1095 db.rename(fileName, oldDatabaseName, newDatabaseName, 0);
1122 db.sync(0);
1147 {@link com.sleepycat.db.DatabaseConfig#setSortedDuplicates DatabaseConfig.setSortedDuplicates} method informs this
1178 final Db db = DatabaseConfig.checkNull(config).createDatabase(null);
1179 db.upgrade(fileName,
1181 db.close(0);
1204 {@link com.sleepycat.db.EnvironmentConfig#addDataDir EnvironmentConfig.addDataDir}, or by setting the "set_data_dir"
1207 The {@link com.sleepycat.db.Database Database} handle may not be accessed
1218 been configured by {@link com.sleepycat.db.VerifyConfig#setOrderCheckOnly VerifyConfig.setOrderCheckOnly}.
1223 operation has been been configured by {@link com.sleepycat.db.VerifyConfig#setSalvage VerifyConfig.setSalvage}.
1232 {@link com.sleepycat.db.VerifyConfig#setSalvage VerifyConfig.setSalvage}, all of the key/data pairs in the
1245 final Db db = DatabaseConfig.checkNull(dbConfig).createDatabase(null);
1246 return db.verify(fileName, databaseName, dumpStream,