public enum TableStatsPrinter extends java.lang.Enum<TableStatsPrinter>
Modifier and Type | Method and Description |
---|---|
static TableStatsPrinter |
from(java.lang.String format) |
void |
print(StatsHolder stats,
java.io.PrintStream out) |
static TableStatsPrinter |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableStatsPrinter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableStatsPrinter DEFAULT
public static final TableStatsPrinter JSON
public static final TableStatsPrinter YAML
public static TableStatsPrinter[] values()
for (TableStatsPrinter c : TableStatsPrinter.values()) System.out.println(c);
public static TableStatsPrinter valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void print(StatsHolder stats, java.io.PrintStream out)
public static TableStatsPrinter from(java.lang.String format)
Copyright © 2016 The Apache Software Foundation