public class CreateSnapshot extends AbstractHBaseTool
cmdLineArgs, conf, EXIT_FAILURE, EXIT_SUCCESS| Constructor and Description |
|---|
CreateSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOptions()
Override this to add command-line options using
AbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods. |
protected int |
doWork()
The "main function" of the tool
|
static void |
main(String[] args) |
protected void |
processOptions(org.apache.commons.cli.CommandLine cmd)
This method is called to process the options after they have been parsed.
|
addOption, addOptNoArg, addOptNoArg, addOptWithArg, addOptWithArg, addRequiredOptWithArg, addRequiredOptWithArg, doStaticMain, getConf, getOptionAsDouble, getOptionAsInt, parseInt, parseLong, printUsage, printUsage, run, setConfpublic static void main(String[] args)
protected void addOptions()
AbstractHBaseToolAbstractHBaseTool.addOptWithArg(java.lang.String, java.lang.String)
and similar methods.addOptions in class AbstractHBaseToolprotected void processOptions(org.apache.commons.cli.CommandLine cmd)
AbstractHBaseToolprocessOptions in class AbstractHBaseToolprotected int doWork()
throws Exception
AbstractHBaseTooldoWork in class AbstractHBaseToolExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.