public static enum CompressionCodec.Type extends Enum<CompressionCodec.Type>
| Modifier and Type | Method and Description |
|---|---|
static CompressionCodec.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionCodec.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressionCodec.Type NONE
public static final CompressionCodec.Type LZ4
public static final CompressionCodec.Type UNKNOWN
public static CompressionCodec.Type[] values()
for (CompressionCodec.Type c : CompressionCodec.Type.values()) System.out.println(c);
public static CompressionCodec.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All Rights Reserved.