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
Nested ClassesModifier and TypeClassDescriptionstatic classA builder forHFilePrettyPrinter.SimpleReporterinstances. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DateFormatprivate final Localeprivate final PrintStreamprivate final List<HFilePrettyPrinter.KeyValueStats> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSimpleReporter(PrintStream output, List<HFilePrettyPrinter.KeyValueStats> stats, Locale locale, TimeZone timeZone) -
Method Summary
Modifier and TypeMethodDescriptionReturns a newHFilePrettyPrinter.SimpleReporter.BuilderforHFilePrettyPrinter.SimpleReporter.private voidprivate voidprintRangeCount(long range, long countAtOrBelow) voidreport()
-
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.BuilderforHFilePrettyPrinter.SimpleReporter.- Returns:
- a
HFilePrettyPrinter.SimpleReporter.Builderinstance for aHFilePrettyPrinter.SimpleReporter
-
report
-
printHistogram
-
printRangeCount
-