Package org.apache.hadoop.hbase.io.hfile
Class HFilePrettyPrinter.SimpleReporter
java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.SimpleReporter
- Enclosing class:
- HFilePrettyPrinter
Simple reporter which collects registered histograms for printing to an output stream in
report()
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder forHFilePrettyPrinter.SimpleReporter
instances. -
Field Summary
Modifier and TypeFieldDescriptionprivate final DateFormat
private final Locale
private final PrintStream
private final List<HFilePrettyPrinter.KeyValueStats>
-
Constructor Summary
ModifierConstructorDescriptionprivate
SimpleReporter
(PrintStream output, List<HFilePrettyPrinter.KeyValueStats> stats, Locale locale, TimeZone timeZone) -
Method Summary
Modifier and TypeMethodDescriptionReturns a newHFilePrettyPrinter.SimpleReporter.Builder
forHFilePrettyPrinter.SimpleReporter
.private void
private void
printRangeCount
(long range, long countAtOrBelow) void
report()
-
Field Details
-
output
-
stats
-
locale
-
dateFormat
-
-
Constructor Details
-
SimpleReporter
private SimpleReporter(PrintStream output, List<HFilePrettyPrinter.KeyValueStats> stats, Locale locale, TimeZone timeZone)
-
-
Method Details
-
newBuilder
Returns a newHFilePrettyPrinter.SimpleReporter.Builder
forHFilePrettyPrinter.SimpleReporter
.- Returns:
- a
HFilePrettyPrinter.SimpleReporter.Builder
instance for aHFilePrettyPrinter.SimpleReporter
-
report
-
printHistogram
-
printRangeCount
-