Lines Matching refs:string
19 static std::string Name() { return "compact"; } in Name()
21 CompactorCommand(const std::vector<std::string>& params,
22 const std::map<std::string, std::string>& options,
23 const std::vector<std::string>& flags);
25 static void Help(std::string& ret);
31 std::string from_;
33 std::string to_;
38 static std::string Name() { return "dump_live_files"; } in Name()
40 DBFileDumperCommand(const std::vector<std::string>& params,
41 const std::map<std::string, std::string>& options,
42 const std::vector<std::string>& flags);
44 static void Help(std::string& ret);
51 static std::string Name() { return "dump"; } in Name()
53 DBDumperCommand(const std::vector<std::string>& params,
54 const std::map<std::string, std::string>& options,
55 const std::vector<std::string>& flags);
57 static void Help(std::string& ret);
66 static std::string GetFileNameFromPath(const std::string& s) { in GetFileNameFromPath()
69 if (std::string::npos == n) { in GetFileNameFromPath()
79 std::string from_;
81 std::string to_;
83 std::string delim_;
87 std::string path_;
89 static const std::string ARG_COUNT_ONLY;
90 static const std::string ARG_COUNT_DELIM;
91 static const std::string ARG_STATS;
92 static const std::string ARG_TTL_BUCKET;
97 static std::string Name() { return "idump"; } in Name()
99 InternalDumpCommand(const std::vector<std::string>& params,
100 const std::map<std::string, std::string>& options,
101 const std::vector<std::string>& flags);
103 static void Help(std::string& ret);
109 std::string from_;
111 std::string to_;
113 std::string delim_;
119 static const std::string ARG_DELIM;
120 static const std::string ARG_COUNT_ONLY;
121 static const std::string ARG_COUNT_DELIM;
122 static const std::string ARG_STATS;
123 static const std::string ARG_INPUT_KEY_HEX;
128 static std::string Name() { return "load"; } in Name()
130 DBLoaderCommand(std::string& db_name, std::vector<std::string>& args);
132 DBLoaderCommand(const std::vector<std::string>& params,
133 const std::map<std::string, std::string>& options,
134 const std::vector<std::string>& flags);
136 static void Help(std::string& ret);
146 static const std::string ARG_DISABLE_WAL;
147 static const std::string ARG_BULK_LOAD;
148 static const std::string ARG_COMPACT;
153 static std::string Name() { return "manifest_dump"; } in Name()
155 ManifestDumpCommand(const std::vector<std::string>& params,
156 const std::map<std::string, std::string>& options,
157 const std::vector<std::string>& flags);
159 static void Help(std::string& ret);
167 std::string path_;
169 static const std::string ARG_VERBOSE;
170 static const std::string ARG_JSON;
171 static const std::string ARG_PATH;
176 static std::string Name() { return "file_checksum_dump"; } in Name()
178 FileChecksumDumpCommand(const std::vector<std::string>& params,
179 const std::map<std::string, std::string>& options,
180 const std::vector<std::string>& flags);
182 static void Help(std::string& ret);
188 std::string path_;
190 static const std::string ARG_PATH;
195 static std::string Name() { return "list_column_families"; } in Name()
197 ListColumnFamiliesCommand(const std::vector<std::string>& params,
198 const std::map<std::string, std::string>& options,
199 const std::vector<std::string>& flags);
201 static void Help(std::string& ret);
209 static std::string Name() { return "create_column_family"; } in Name()
211 CreateColumnFamilyCommand(const std::vector<std::string>& params,
212 const std::map<std::string, std::string>& options,
213 const std::vector<std::string>& flags);
215 static void Help(std::string& ret);
221 std::string new_cf_name_;
226 static std::string Name() { return "drop_column_family"; } in Name()
228 DropColumnFamilyCommand(const std::vector<std::string>& params,
229 const std::map<std::string, std::string>& options,
230 const std::vector<std::string>& flags);
232 static void Help(std::string& ret);
238 std::string cf_name_to_drop_;
243 static std::string Name() { return "reduce_levels"; } in Name()
245 ReduceDBLevelsCommand(const std::vector<std::string>& params,
246 const std::map<std::string, std::string>& options,
247 const std::vector<std::string>& flags);
255 static void Help(std::string& msg);
257 static std::vector<std::string> PrepareArgs(const std::string& db_path,
266 static const std::string ARG_NEW_LEVELS;
267 static const std::string ARG_PRINT_OLD_LEVELS;
274 static std::string Name() { return "change_compaction_style"; } in Name()
277 const std::vector<std::string>& params,
278 const std::map<std::string, std::string>& options,
279 const std::vector<std::string>& flags);
285 static void Help(std::string& msg);
291 static const std::string ARG_OLD_COMPACTION_STYLE;
292 static const std::string ARG_NEW_COMPACTION_STYLE;
297 static std::string Name() { return "dump_wal"; } in Name()
299 WALDumperCommand(const std::vector<std::string>& params,
300 const std::map<std::string, std::string>& options,
301 const std::vector<std::string>& flags);
305 static void Help(std::string& ret);
310 std::string wal_file_;
314 static const std::string ARG_WAL_FILE;
315 static const std::string ARG_WRITE_COMMITTED;
316 static const std::string ARG_PRINT_HEADER;
317 static const std::string ARG_PRINT_VALUE;
322 static std::string Name() { return "get"; } in Name()
324 GetCommand(const std::vector<std::string>& params,
325 const std::map<std::string, std::string>& options,
326 const std::vector<std::string>& flags);
330 static void Help(std::string& ret);
333 std::string key_;
338 static std::string Name() { return "approxsize"; } in Name()
340 ApproxSizeCommand(const std::vector<std::string>& params,
341 const std::map<std::string, std::string>& options,
342 const std::vector<std::string>& flags);
346 static void Help(std::string& ret);
349 std::string start_key_;
350 std::string end_key_;
355 static std::string Name() { return "batchput"; } in Name()
357 BatchPutCommand(const std::vector<std::string>& params,
358 const std::map<std::string, std::string>& options,
359 const std::vector<std::string>& flags);
363 static void Help(std::string& ret);
371 std::vector<std::pair<std::string, std::string>> key_values_;
376 static std::string Name() { return "scan"; } in Name()
378 ScanCommand(const std::vector<std::string>& params,
379 const std::map<std::string, std::string>& options,
380 const std::vector<std::string>& flags);
384 static void Help(std::string& ret);
387 std::string start_key_;
388 std::string end_key_;
397 static std::string Name() { return "delete"; } in Name()
399 DeleteCommand(const std::vector<std::string>& params,
400 const std::map<std::string, std::string>& options,
401 const std::vector<std::string>& flags);
405 static void Help(std::string& ret);
408 std::string key_;
413 static std::string Name() { return "deleterange"; } in Name()
415 DeleteRangeCommand(const std::vector<std::string>& params,
416 const std::map<std::string, std::string>& options,
417 const std::vector<std::string>& flags);
421 static void Help(std::string& ret);
424 std::string begin_key_;
425 std::string end_key_;
430 static std::string Name() { return "put"; } in Name()
432 PutCommand(const std::vector<std::string>& params,
433 const std::map<std::string, std::string>& options,
434 const std::vector<std::string>& flags);
438 static void Help(std::string& ret);
443 std::string key_;
444 std::string value_;
453 static std::string Name() { return "query"; } in Name()
455 DBQuerierCommand(const std::vector<std::string>& params,
456 const std::map<std::string, std::string>& options,
457 const std::vector<std::string>& flags);
459 static void Help(std::string& ret);
472 static std::string Name() { return "checkconsistency"; } in Name()
474 CheckConsistencyCommand(const std::vector<std::string>& params,
475 const std::map<std::string, std::string>& options,
476 const std::vector<std::string>& flags);
482 static void Help(std::string& ret);
487 static std::string Name() { return "checkpoint"; } in Name()
489 CheckPointCommand(const std::vector<std::string>& params,
490 const std::map<std::string, std::string>& options,
491 const std::vector<std::string>& flags);
495 static void Help(std::string& ret);
497 std::string checkpoint_dir_;
499 static const std::string ARG_CHECKPOINT_DIR;
504 static std::string Name() { return "repair"; } in Name()
506 RepairCommand(const std::vector<std::string>& params,
507 const std::map<std::string, std::string>& options,
508 const std::vector<std::string>& flags);
514 static void Help(std::string& ret);
519 BackupableCommand(const std::vector<std::string>& params,
520 const std::map<std::string, std::string>& options,
521 const std::vector<std::string>& flags);
524 static void Help(const std::string& name, std::string& ret);
525 std::string backup_env_uri_;
526 std::string backup_dir_;
532 static const std::string ARG_BACKUP_DIR;
533 static const std::string ARG_BACKUP_ENV_URI;
534 static const std::string ARG_NUM_THREADS;
535 static const std::string ARG_STDERR_LOG_LEVEL;
540 static std::string Name() { return "backup"; } in Name()
541 BackupCommand(const std::vector<std::string>& params,
542 const std::map<std::string, std::string>& options,
543 const std::vector<std::string>& flags);
545 static void Help(std::string& ret);
550 static std::string Name() { return "restore"; } in Name()
551 RestoreCommand(const std::vector<std::string>& params,
552 const std::map<std::string, std::string>& options,
553 const std::vector<std::string>& flags);
556 static void Help(std::string& ret);
561 static std::string Name() { return "write_extern_sst"; } in Name()
563 const std::vector<std::string>& params,
564 const std::map<std::string, std::string>& options,
565 const std::vector<std::string>& flags);
573 static void Help(std::string& ret);
576 std::string output_sst_path_;
581 static std::string Name() { return "ingest_extern_sst"; } in Name()
583 const std::vector<std::string>& params,
584 const std::map<std::string, std::string>& options,
585 const std::vector<std::string>& flags);
593 static void Help(std::string& ret);
596 std::string input_sst_path_;
604 static const std::string ARG_MOVE_FILES;
605 static const std::string ARG_SNAPSHOT_CONSISTENCY;
606 static const std::string ARG_ALLOW_GLOBAL_SEQNO;
607 static const std::string ARG_ALLOW_BLOCKING_FLUSH;
608 static const std::string ARG_INGEST_BEHIND;
609 static const std::string ARG_WRITE_GLOBAL_SEQNO;
615 static std::string Name() { return "list_file_range_deletes"; } in Name()
617 ListFileRangeDeletesCommand(const std::map<std::string, std::string>& options,
618 const std::vector<std::string>& flags);
622 static void Help(std::string& ret);