@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2022-09-25") public enum Encoding extends Enum<Encoding> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
BIT_PACKED
Bit packed encoding.
|
BYTE_STREAM_SPLIT
Encoding for floating-point data.
|
DELTA_BINARY_PACKED
Delta encoding for integers.
|
DELTA_BYTE_ARRAY
Incremental-encoded byte array.
|
DELTA_LENGTH_BYTE_ARRAY
Encoding for byte arrays to separate the length values and the data.
|
PLAIN
Default encoding.
|
PLAIN_DICTIONARY
Deprecated: Dictionary encoding.
|
RLE
Group packed run length encoding.
|
RLE_DICTIONARY
Dictionary encoding: the ids are encoded using the RLE encoding
|
Modifier and Type | Method and Description |
---|---|
static Encoding |
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 Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encoding PLAIN
public static final Encoding PLAIN_DICTIONARY
public static final Encoding RLE
public static final Encoding BIT_PACKED
public static final Encoding DELTA_BINARY_PACKED
public static final Encoding DELTA_LENGTH_BYTE_ARRAY
public static final Encoding DELTA_BYTE_ARRAY
public static final Encoding RLE_DICTIONARY
public static final Encoding BYTE_STREAM_SPLIT
public static Encoding[] values()
for (Encoding c : Encoding.values()) System.out.println(c);
public static Encoding 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.TEnum
public static Encoding findByValue(int value)
Copyright © 2022 The Apache Software Foundation. All rights reserved.