org.apache.hadoop.hbase.io.hfile
Class HFilePrettyPrinter

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

@InterfaceAudience.Public
@InterfaceStability.Evolving
public class HFilePrettyPrinter
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool

Implements pretty-printing functionality for HFiles.


Constructor Summary
HFilePrettyPrinter()
           
HFilePrettyPrinter(org.apache.hadoop.conf.Configuration conf)
           
 
Method Summary
static void main(String[] args)
           
 boolean parseOptions(String[] args)
           
 int run(String[] args)
          Runs the command-line pretty-printer, and returns the desired command exit code (zero for success, non-zero for failure).
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

HFilePrettyPrinter

public HFilePrettyPrinter()

HFilePrettyPrinter

public HFilePrettyPrinter(org.apache.hadoop.conf.Configuration conf)
Method Detail

parseOptions

public boolean parseOptions(String[] args)
                     throws org.apache.commons.cli.ParseException,
                            IOException
Throws:
org.apache.commons.cli.ParseException
IOException

run

public int run(String[] args)
Runs the command-line pretty-printer, and returns the desired command exit code (zero for success, non-zero for failure).

Specified by:
run in interface org.apache.hadoop.util.Tool

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2015 The Apache Software Foundation. All rights reserved.