Java org.apache.hadoop.util GenericOptionsParser fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.util GenericOptionsParser fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.util GenericOptionsParser.

The text is from its open source code.

Constructor

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 to parse only the generic Hadoop arguments.
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.

Method

CommandLinegetCommandLine()
Returns the commons-cli CommandLine object to process the parsed arguments.
ConfigurationgetConfiguration()
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.
voidprintGenericCommandUsage(PrintStream out)
Print the usage message for generic command-line options supported.