public static enum TableMetadataParser.Codec extends java.lang.Enum<TableMetadataParser.Codec>
Modifier and Type | Method and Description |
---|---|
static TableMetadataParser.Codec |
fromFileName(java.lang.String fileName) |
static TableMetadataParser.Codec |
fromName(java.lang.String codecName) |
static TableMetadataParser.Codec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableMetadataParser.Codec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableMetadataParser.Codec NONE
public static final TableMetadataParser.Codec GZIP
public static TableMetadataParser.Codec[] values()
for (TableMetadataParser.Codec c : TableMetadataParser.Codec.values()) System.out.println(c);
public static TableMetadataParser.Codec 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 static TableMetadataParser.Codec fromName(java.lang.String codecName)
public static TableMetadataParser.Codec fromFileName(java.lang.String fileName)