@InterfaceAudience.Public @InterfaceStability.Evolving public static enum ColumnSchema.CompressionAlgorithm extends Enum<ColumnSchema.CompressionAlgorithm>
Enum Constant and Description |
---|
DEFAULT_COMPRESSION |
LZ4 |
NO_COMPRESSION |
SNAPPY |
UNKNOWN |
ZLIB |
Modifier and Type | Method and Description |
---|---|
static ColumnSchema.CompressionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnSchema.CompressionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnSchema.CompressionAlgorithm UNKNOWN
public static final ColumnSchema.CompressionAlgorithm DEFAULT_COMPRESSION
public static final ColumnSchema.CompressionAlgorithm NO_COMPRESSION
public static final ColumnSchema.CompressionAlgorithm SNAPPY
public static final ColumnSchema.CompressionAlgorithm LZ4
public static final ColumnSchema.CompressionAlgorithm ZLIB
public static ColumnSchema.CompressionAlgorithm[] values()
for (ColumnSchema.CompressionAlgorithm c : ColumnSchema.CompressionAlgorithm.values()) System.out.println(c);
public static ColumnSchema.CompressionAlgorithm 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 null