@InterfaceAudience.Private @InterfaceStability.Unstable public class OfflineEditsViewer extends Configured implements Tool
Modifier and Type | Class and Description |
---|---|
static class |
OfflineEditsViewer.Flags |
Constructor and Description |
---|
OfflineEditsViewer() |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.cli.Options |
buildOptions()
Build command-line options and descriptions
|
int |
go(String inputFileName,
String outputFileName,
String processor,
OfflineEditsViewer.Flags flags,
OfflineEditsVisitor visitor)
Process an edit log using the chosen processor or visitor.
|
static void |
main(String[] argv)
main() runs the offline edits viewer using ToolRunner
|
int |
run(String[] argv)
Main entry point for ToolRunner (see ToolRunner docs)
|
getConf, setConf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getConf, setConf
public static org.apache.commons.cli.Options buildOptions()
public int go(String inputFileName, String outputFileName, String processor, OfflineEditsViewer.Flags flags, OfflineEditsVisitor visitor)
inputFilename
- The file to processoutputFilename
- The output file nameprocessor
- If visitor is null, the processor to usevisitor
- If non-null, the visitor to use.public int run(String[] argv) throws Exception
Copyright © 2013 Apache Software Foundation. All rights reserved.