Example usage for Java org.apache.hadoop.util GenericOptionsParser fields, constructors, methods, implement or subclass
The text is from its open source code.
GenericOptionsParser(Options opts, String[] args) Create an options parser with the given options to parse the args. | |
GenericOptionsParser(Configuration conf, String[] args) Create a GenericOptionsParser | |
GenericOptionsParser(String[] args) Create an options parser to parse the args. | |
GenericOptionsParser(Configuration conf, Options options, String[] args) Create a GenericOptionsParser to parse given options as well as generic Hadoop options. |
CommandLine | getCommandLine() Returns the commons-cli CommandLine object to process the parsed arguments. |
Configuration | getConfiguration() Get the modified configuration |
URL[] | getLibJars(Configuration conf) If libjars are set in the conf, parse the libjars. |
String[] | getRemainingArgs() Returns an array of Strings containing only application-specific arguments. |
void | printGenericCommandUsage(PrintStream out) Print the usage message for generic command-line options supported. |