@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public enum TCompressionAlgorithm extends Enum<TCompressionAlgorithm> implements org.apache.thrift.TEnum
| Enum Constant and Description |
|---|
BZIP2 |
GZ |
LZ4 |
LZO |
NONE |
SNAPPY |
ZSTD |
| Modifier and Type | Method and Description |
|---|---|
static TCompressionAlgorithm |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static TCompressionAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TCompressionAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TCompressionAlgorithm LZO
public static final TCompressionAlgorithm GZ
public static final TCompressionAlgorithm NONE
public static final TCompressionAlgorithm SNAPPY
public static final TCompressionAlgorithm LZ4
public static final TCompressionAlgorithm BZIP2
public static final TCompressionAlgorithm ZSTD
public static TCompressionAlgorithm[] values()
for (TCompressionAlgorithm c : TCompressionAlgorithm.values()) System.out.println(c);
public static TCompressionAlgorithm 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 nullpublic int getValue()
getValue in interface org.apache.thrift.TEnumpublic static TCompressionAlgorithm findByValue(int value)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.