private static final class HFilePrettyPrinter.SimpleReporter extends Object
report()
.Modifier and Type | Class and Description |
---|---|
static class |
HFilePrettyPrinter.SimpleReporter.Builder
A builder for
HFilePrettyPrinter.SimpleReporter instances. |
Modifier and Type | Field and Description |
---|---|
private DateFormat |
dateFormat |
private Locale |
locale |
private PrintStream |
output |
private List<HFilePrettyPrinter.KeyValueStats> |
stats |
Modifier | Constructor and Description |
---|---|
private |
SimpleReporter(PrintStream output,
List<HFilePrettyPrinter.KeyValueStats> stats,
Locale locale,
TimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
static HFilePrettyPrinter.SimpleReporter.Builder |
newBuilder()
Returns a new
HFilePrettyPrinter.SimpleReporter.Builder for HFilePrettyPrinter.SimpleReporter . |
private void |
printHistogram(HFilePrettyPrinter.KeyValueStats stats) |
private void |
printRangeCount(long range,
long countAtOrBelow) |
void |
report() |
private final PrintStream output
private final List<HFilePrettyPrinter.KeyValueStats> stats
private final DateFormat dateFormat
private SimpleReporter(PrintStream output, List<HFilePrettyPrinter.KeyValueStats> stats, Locale locale, TimeZone timeZone)
public static HFilePrettyPrinter.SimpleReporter.Builder newBuilder()
HFilePrettyPrinter.SimpleReporter.Builder
for HFilePrettyPrinter.SimpleReporter
.HFilePrettyPrinter.SimpleReporter.Builder
instance for a HFilePrettyPrinter.SimpleReporter
public void report()
private void printHistogram(HFilePrettyPrinter.KeyValueStats stats)
private void printRangeCount(long range, long countAtOrBelow)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.