public abstract class InputDataSetCmdArgsParserHandler
extends java.lang.Object
InputDataSetCmdArgsParser instances. Given An implementation of this class will look for the parser which is most suitable InputDataSetCmdArgsParser for creating an instance of an input data set given the command line parameters.| Constructor and Description |
|---|
InputDataSetCmdArgsParserHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
getCmdArgs(AbstractInputDataSet dataSet, java.util.Map<java.lang.String,java.lang.Object> cmdArgs, Configuration conf)
Gets the command line arguments used to get the current state of the given input data set
|
abstract java.util.List<InputDataSetCmdArgsParser> |
getParsers(Configuration conf)
Gets the current parsers chain
|
AbstractInputDataSet |
parse(CmdArgsParser argsp, Configuration conf)
Finds the appropriate instance of
InputDataSetCmdArgsParser for the given command line arguments and then creates the input data set instance by calling the method InputDataSetCmdArgsParser.parseCmdArgs(CmdArgsParser, Configuration) on the parser. |
public void getCmdArgs(AbstractInputDataSet dataSet, java.util.Map<java.lang.String,java.lang.Object> cmdArgs, Configuration conf)
dataSet - an instance of AbstractInputDataSetcmdArgs - a map containing the command line argumentsconf - a job configurationpublic abstract java.util.List<InputDataSetCmdArgsParser> getParsers(Configuration conf)
conf - a job configurationInputDataSetCmdArgsParserpublic AbstractInputDataSet parse(CmdArgsParser argsp, Configuration conf)
InputDataSetCmdArgsParser for the given command line arguments and then creates the input data set instance by calling the method InputDataSetCmdArgsParser.parseCmdArgs(CmdArgsParser, Configuration) on the parser.argsp - an instance of CmdArgsParser which contains the command line parametersconf - a job configurationAbstractInputDataSetCopyright © 2016 Oracle and/or its affiliates. All Rights Reserved.