public class HadoopTwitterPreprocessingToolOptions extends AbstractTwitterPreprocessingToolOptions
modeOptionsOp, outputStatusType, postFilterOptionsOp, preFilterOptionsOp, statusType
output
Constructor and Description |
---|
HadoopTwitterPreprocessingToolOptions(String[] args)
The hadoop options, assume these are the options before mapping
|
HadoopTwitterPreprocessingToolOptions(String[] args,
boolean beforeMaps)
The hadoop twitter preprocessing options
|
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.Path[] |
getInputPaths() |
org.apache.hadoop.fs.Path |
getOutputPath() |
boolean |
validate() |
convertToOutputFormat, getEncoding, getInputClass, getOutputClass, getTimeBeforeSkip, ouputMode, postProcessesSkip, prepare, preProcessesSkip, preprocessingMode, progress, veryLoud
getAllInputs, getInput, getInputFile, getOutput, isContinue, isForce, overwriteOutput, prepareMultivaluedArgument, setInput, setInputFile, setOutput
public HadoopTwitterPreprocessingToolOptions(String[] args) throws org.kohsuke.args4j.CmdLineException
args
- org.kohsuke.args4j.CmdLineException
public HadoopTwitterPreprocessingToolOptions(String[] args, boolean beforeMaps) throws org.kohsuke.args4j.CmdLineException
args
- command line optiosbeforeMaps
- if true, the output location is removed if the option to do so
is setorg.kohsuke.args4j.CmdLineException
public boolean validate() throws org.kohsuke.args4j.CmdLineException
validate
in class AbstractTwitterPreprocessingToolOptions
org.kohsuke.args4j.CmdLineException
public org.apache.hadoop.fs.Path[] getInputPaths() throws IOException
IOException
public org.apache.hadoop.fs.Path getOutputPath()