@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving @Deprecated public class HLogPrettyPrinter extends WALPrettyPrinter
Constructor and Description |
---|
HLogPrettyPrinter()
Deprecated.
Basic constructor that simply initializes values to reasonable defaults.
|
HLogPrettyPrinter(boolean outputValues,
boolean outputJSON,
long sequence,
String region,
String row,
boolean persistentOutput,
PrintStream out)
Deprecated.
Fully specified constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Deprecated.
|
beginPersistentOutput, disableJSON, disableValues, enableJSON, enableValues, endPersistentOutput, processFile, run, setPosition, setRegionFilter, setRowFilter, setSequenceFilter
public HLogPrettyPrinter()
public HLogPrettyPrinter(boolean outputValues, boolean outputJSON, long sequence, String region, String row, boolean persistentOutput, PrintStream out)
outputValues
- when true, enables output of values along with other log
informationoutputJSON
- when true, enables output in JSON format rather than a
"pretty string"sequence
- when nonnegative, serves as a filter; only log entries with this
sequence id will be printedregion
- when not null, serves as a filter; only log entries from this
region will be printedrow
- when not null, serves as a filter; only log entries from this row
will be printedpersistentOutput
- keeps a single list running for multiple files. if enabled, the
endPersistentOutput() method must be used!out
- Specifies an alternative to stdout for the destination of this
PrettyPrinter's output.public static void main(String[] args) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.