コード例 #1
0
 private static CmdLineOptions getCmdLineOptions() {
   CmdLineOptions options = new CmdLineOptions();
   options.addOption(null, DEBUG_OPTION, "display stack traces");
   options.addOption("h", HELP_OPTION, "display this help message");
   options.addOption("k", KEEP_SOURCE, "do not delete the source sstables");
   return options;
 }
コード例 #2
0
 private static CmdLineOptions getCmdLineOptions() {
   CmdLineOptions options = new CmdLineOptions();
   options.addOption(null, DEBUG_OPTION, "display stack traces");
   options.addOption("v", VERBOSE_OPTION, "verbose output");
   options.addOption("h", HELP_OPTION, "display this help message");
   options.addOption(null, NO_SNAPSHOT_OPTION, "don't snapshot the sstables before splitting");
   options.addOption(
       "s",
       SIZE_OPTION,
       "size",
       "maximum size in MB for the output sstables (default: " + DEFAULT_SSTABLE_SIZE + ")");
   return options;
 }