Home
last modified time | relevance | path

Searched refs:db_path (Results 1 – 25 of 50) sorted by relevance

12

/rocksdb-6.9/java/rocksjni/
Doptimistic_transaction_db.cc26 const char* db_path = env->GetStringUTFChars(jdb_path, nullptr); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2() local
27 if (db_path == nullptr) { in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2()
38 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2()
57 const char* db_path = env->GetStringUTFChars(jdb_path, nullptr); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J() local
58 if (db_path == nullptr) { in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J()
68 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J()
75 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J()
84 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J()
94 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J()
103 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_OptimisticTransactionDB_open__JLjava_lang_String_2_3_3B_3J()
[all …]
Dttl.cc29 const char* db_path = env->GetStringUTFChars(jdb_path, nullptr); in Java_org_rocksdb_TtlDB_open() local
30 if (db_path == nullptr) { in Java_org_rocksdb_TtlDB_open()
38 ROCKSDB_NAMESPACE::DBWithTTL::Open(*opt, db_path, &db, jttl, jread_only); in Java_org_rocksdb_TtlDB_open()
39 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TtlDB_open()
60 const char* db_path = env->GetStringUTFChars(jdb_path, nullptr); in Java_org_rocksdb_TtlDB_openCF() local
61 if (db_path == nullptr) { in Java_org_rocksdb_TtlDB_openCF()
70 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TtlDB_openCF()
93 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TtlDB_openCF()
101 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TtlDB_openCF()
114 *opt, db_path, column_families, &handles, &db, ttl_values, jread_only); in Java_org_rocksdb_TtlDB_openCF()
[all …]
Dtransaction_db.cc36 const char* db_path = env->GetStringUTFChars(jdb_path, nullptr); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2() local
37 if (db_path == nullptr) { in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2()
42 *options, *txn_db_options, db_path, &tdb); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2()
43 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2()
62 const char* db_path = env->GetStringUTFChars(jdb_path, nullptr); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2_3_3B_3J() local
63 if (db_path == nullptr) { in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2_3_3B_3J()
71 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2_3_3B_3J()
78 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2_3_3B_3J()
87 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2_3_3B_3J()
96 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_TransactionDB_open__JJLjava_lang_String_2_3_3B_3J()
[all …]
Doptions_util.cc62 auto db_path = in Java_org_rocksdb_OptionsUtil_loadLatestOptions() local
70 db_path, reinterpret_cast<ROCKSDB_NAMESPACE::Env*>(jenv_handle), in Java_org_rocksdb_OptionsUtil_loadLatestOptions()
117 auto db_path = in Java_org_rocksdb_OptionsUtil_getLatestOptionsFileName() local
125 db_path, reinterpret_cast<ROCKSDB_NAMESPACE::Env*>(jenv_handle), in Java_org_rocksdb_OptionsUtil_getLatestOptionsFileName()
Drocksjni.cc37 if (db_path == nullptr) { in rocksdb_open_helper()
46 env->ReleaseStringUTFChars(jdb_path, db_path); in rocksdb_open_helper()
95 if (db_path == nullptr) { in rocksdb_open_helper()
104 env->ReleaseStringUTFChars(jdb_path, db_path); in rocksdb_open_helper()
127 env->ReleaseStringUTFChars(jdb_path, db_path); in rocksdb_open_helper()
138 env->ReleaseStringUTFChars(jdb_path, db_path); in rocksdb_open_helper()
181 const std::string& db_path, in Java_org_rocksdb_RocksDB_openROnly__JLjava_lang_String_2_3_3B_3J()
243 if (db_path == nullptr) { in Java_org_rocksdb_RocksDB_listColumnFamilies()
250 *opt, db_path, &column_family_names); in Java_org_rocksdb_RocksDB_listColumnFamilies()
252 env->ReleaseStringUTFChars(jdb_path, db_path); in Java_org_rocksdb_RocksDB_listColumnFamilies()
[all …]
/rocksdb-6.9/tools/advisor/advisor/
Ddb_bench_runner.py119 def get_log_options(self, db_options, db_path): argument
138 log_dir_path, db_path
142 log_dir_path = db_path
164 def _setup_db_before_experiment(self, curr_options, db_path): argument
167 shutil.rmtree(db_path, ignore_errors=True)
172 self.db_bench_binary, db_path
178 def _build_experiment_command(self, curr_options, db_path): argument
180 self.db_bench_binary, self.benchmark, db_path
199 def run_experiment(self, db_options, db_path): argument
201 self._setup_db_before_experiment(db_options, db_path)
[all …]
Dbench_runner.py22 def get_info_log_file_name(log_dir, db_path): argument
32 file_name = db_path[1:] # to ignore the leading '/' character
34 for character in to_be_replaced.findall(db_path):
/rocksdb-6.9/java/src/main/java/org/rocksdb/
DTtlDB.java66 public static TtlDB open(final Options options, final String db_path) in open() argument
68 return open(options, db_path, 0, false); in open()
85 public static TtlDB open(final Options options, final String db_path, in open() argument
87 return new TtlDB(open(options.nativeHandle_, db_path, ttl, readOnly)); in open()
109 public static TtlDB open(final DBOptions options, final String db_path, in open() argument
132 final long[] handles = openCF(options.nativeHandle_, db_path, in open()
234 final String db_path, final int ttl, final boolean readOnly) in open() argument
237 final String db_path, final byte[][] columnFamilyNames, in openCF() argument
/rocksdb-6.9/tools/advisor/test/
Dtest_db_bench_runner.py50 db_path = '/tmp/rocksdb-155919/dbbench'
58 self.db_options, db_path
71 self.db_options, db_path
83 db_path = '/dev/shm'
85 self.db_options, db_path
98 ' --statistics --perf_level=3 --db=' + db_path + opt_args_str
120 db_path = '/dev/shm'
122 self.db_options, db_path
/rocksdb-6.9/db/
Ddb_info_dumper.cc75 for (auto& db_path : options.db_paths) { in DumpDBFileSummary() local
76 if (dbname.compare(db_path.path) != 0) { in DumpDBFileSummary()
77 if (!env->GetChildren(db_path.path, &files).ok()) { in DumpDBFileSummary()
80 db_path.path.c_str()); in DumpDBFileSummary()
94 db_path.path.c_str(), file_num, file_info.c_str()); in DumpDBFileSummary()
/rocksdb-6.9/java/src/test/java/org/rocksdb/util/
DBytewiseComparatorIntTest.java146 private void testRoundtrip(final Path db_path, in testRoundtrip() argument
153 try (final RocksDB db = RocksDB.open(opt, db_path.toString())) { in testRoundtrip()
163 try (final RocksDB db = RocksDB.open(opt, db_path.toString()); in testRoundtrip()
196 private void testRoundtripCf(final Path db_path, in testRoundtripCf() argument
212 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
233 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
DReverseBytewiseComparatorIntTest.java149 private void testRoundtrip(final Path db_path, in testRoundtrip() argument
156 try (final RocksDB db = RocksDB.open(opt, db_path.toString())) { in testRoundtrip()
166 try (final RocksDB db = RocksDB.open(opt, db_path.toString()); in testRoundtrip()
199 private void testRoundtripCf(final Path db_path, in testRoundtripCf() argument
215 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
236 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
DIntComparatorTest.java145 private void testRoundtrip(final Path db_path, in testRoundtrip() argument
152 try (final RocksDB db = RocksDB.open(opt, db_path.toString())) { in testRoundtrip()
162 try (final RocksDB db = RocksDB.open(opt, db_path.toString()); in testRoundtrip()
195 private void testRoundtripCf(final Path db_path, in testRoundtripCf() argument
211 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
232 try (final RocksDB db = RocksDB.open(opt, db_path.toString(), in testRoundtripCf()
/rocksdb-6.9/java/samples/src/main/java/
DRocksDBColumnFamilySample.java23 final String db_path = args[0]; in main() local
27 final RocksDB db = RocksDB.open(options, db_path)) { in main() argument
50 final RocksDB db = RocksDB.open(options, db_path, in main() argument
DRocksDBSample.java26 final String db_path = args[0]; in main() local
27 final String db_path_not_found = db_path + "_not_found"; in main()
112 try (final RocksDB db = RocksDB.open(options, db_path)) { in main() argument
125 try (final RocksDB db = RocksDB.open(options, db_path)) { in main() argument
/rocksdb-6.9/tools/dump/
Ddb_dump_tool.cc35 status = ROCKSDB_NAMESPACE::DB::OpenForReadOnly(options, dump_options.db_path, in Run()
38 std::cerr << "Unable to open database '" << dump_options.db_path in Run()
72 status = env->GetAbsolutePath(dump_options.db_path, &abspath); in Run()
184 status = ROCKSDB_NAMESPACE::DB::Open(options, undump_options.db_path, &dbptr); in Run()
186 std::cerr << "Unable to open database '" << undump_options.db_path in Run()
Drocksdb_dump.cc25 DEFINE_string(db_path, "", "Path to the db that will be dumped");
41 dump_options.db_path = FLAGS_db_path; in main()
Drocksdb_undump.cc26 DEFINE_string(db_path, "", "Path to the db that we will undump the file into");
40 undump_options.db_path = FLAGS_db_path; in main()
/rocksdb-6.9/tools/
Drocksdb_dump_test.sh7 ./rocksdb_undump --dump_location=$DUMPFILE --db_path=$TESTDIR/db
8 ./rocksdb_dump --anonymous --db_path=$TESTDIR/db --dump_location=$TESTDIR/dump
/rocksdb-6.9/include/rocksdb/
Ddb_dump_tool.h17 std::string db_path; member
32 std::string db_path; member
Dmetadata.h79 db_path(_path), in SstFileMetaData()
101 std::string db_path; member
/rocksdb-6.9/file/
Dfilename.cc188 const std::string& db_path, const std::string& log_dir) { in InfoLogFileName() argument
193 InfoLogPrefix info_log_prefix(true, db_path); in InfoLogFileName()
199 const std::string& db_path, const std::string& log_dir) { in OldInfoLogFileName() argument
207 InfoLogPrefix info_log_prefix(true, db_path); in OldInfoLogFileName()
Dfilename.h128 const std::string& db_path = "",
133 const std::string& db_path = "",
/rocksdb-6.9/port/win/
Denv_win.cc1022 Status WinEnvIO::GetAbsolutePath(const std::string& db_path, in GetAbsolutePath() argument
1027 if ((!db_path.empty() && (db_path[0] == '\\' || db_path[0] == '/')) || in GetAbsolutePath()
1028 !RX_PathIsRelative(RX_FN(db_path).c_str())) { in GetAbsolutePath()
1029 *output_path = db_path; in GetAbsolutePath()
1448 Status WinEnv::GetAbsolutePath(const std::string& db_path, in GetAbsolutePath() argument
1450 return winenv_io_.GetAbsolutePath(db_path, output_path); in GetAbsolutePath()
/rocksdb-6.9/db_stress_tool/
Ddb_stress_listener.h163 for (const auto& db_path : db_paths_) { in VerifyFileDir() local
164 if (db_path.path == file_dir) { in VerifyFileDir()

12