@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public class HFilePrettyPrinter extends Configured
HFile
s.Constructor and Description |
---|
HFilePrettyPrinter() |
HFilePrettyPrinter(Configuration conf) |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
boolean |
parseOptions(java.lang.String[] args) |
int |
processFile(Path file) |
int |
run(java.lang.String[] args)
Runs the command-line pretty-printer, and returns the desired command
exit code (zero for success, non-zero for failure).
|
void |
setPrintStreams(java.io.PrintStream out,
java.io.PrintStream err) |
public HFilePrettyPrinter()
public HFilePrettyPrinter(Configuration conf)
public void setPrintStreams(java.io.PrintStream out, java.io.PrintStream err)
public boolean parseOptions(java.lang.String[] args) throws ParseException, java.io.IOException
ParseException
java.io.IOException
public int run(java.lang.String[] args)
public int processFile(Path file) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception