public static enum HadoopShims.DirectCompressionType extends Enum<HadoopShims.DirectCompressionType>
| Enum Constant and Description |
|---|
NONE |
SNAPPY |
ZLIB |
ZLIB_NOHEADER |
| Modifier and Type | Method and Description |
|---|---|
static HadoopShims.DirectCompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopShims.DirectCompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopShims.DirectCompressionType NONE
public static final HadoopShims.DirectCompressionType ZLIB_NOHEADER
public static final HadoopShims.DirectCompressionType ZLIB
public static final HadoopShims.DirectCompressionType SNAPPY
public static HadoopShims.DirectCompressionType[] values()
for (HadoopShims.DirectCompressionType c : HadoopShims.DirectCompressionType.values()) System.out.println(c);
public static HadoopShims.DirectCompressionType 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 © 2013–2021 The Apache Software Foundation. All rights reserved.