@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public enum TDataBlockEncoding extends Enum<TDataBlockEncoding> implements org.apache.thrift.TEnum
| Enum Constant and Description |
|---|
DIFF |
FAST_DIFF |
NONE
Disable data block encoding.
|
PREFIX |
ROW_INDEX_V1 |
| Modifier and Type | Method and Description |
|---|---|
static TDataBlockEncoding |
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 TDataBlockEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TDataBlockEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TDataBlockEncoding NONE
public static final TDataBlockEncoding PREFIX
public static final TDataBlockEncoding DIFF
public static final TDataBlockEncoding FAST_DIFF
public static final TDataBlockEncoding ROW_INDEX_V1
public static TDataBlockEncoding[] values()
for (TDataBlockEncoding c : TDataBlockEncoding.values()) System.out.println(c);
public static TDataBlockEncoding 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 TDataBlockEncoding findByValue(int value)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.