Package org.apache.druid.segment.serde
Enum DictionaryEncodedColumnPartSerde.VERSION
- java.lang.Object
-
- java.lang.Enum<DictionaryEncodedColumnPartSerde.VERSION>
-
- org.apache.druid.segment.serde.DictionaryEncodedColumnPartSerde.VERSION
-
- All Implemented Interfaces:
Serializable
,Comparable<DictionaryEncodedColumnPartSerde.VERSION>
- Enclosing class:
- DictionaryEncodedColumnPartSerde
public static enum DictionaryEncodedColumnPartSerde.VERSION extends Enum<DictionaryEncodedColumnPartSerde.VERSION>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPRESSED
UNCOMPRESSED_MULTI_VALUE
UNCOMPRESSED_SINGLE_VALUE
UNCOMPRESSED_WITH_FLAGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
asByte()
static DictionaryEncodedColumnPartSerde.VERSION
fromByte(byte b)
static DictionaryEncodedColumnPartSerde.VERSION
valueOf(String name)
Returns the enum constant of this type with the specified name.static DictionaryEncodedColumnPartSerde.VERSION[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNCOMPRESSED_SINGLE_VALUE
public static final DictionaryEncodedColumnPartSerde.VERSION UNCOMPRESSED_SINGLE_VALUE
-
UNCOMPRESSED_MULTI_VALUE
public static final DictionaryEncodedColumnPartSerde.VERSION UNCOMPRESSED_MULTI_VALUE
-
COMPRESSED
public static final DictionaryEncodedColumnPartSerde.VERSION COMPRESSED
-
UNCOMPRESSED_WITH_FLAGS
public static final DictionaryEncodedColumnPartSerde.VERSION UNCOMPRESSED_WITH_FLAGS
-
-
Method Detail
-
values
public static DictionaryEncodedColumnPartSerde.VERSION[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DictionaryEncodedColumnPartSerde.VERSION c : DictionaryEncodedColumnPartSerde.VERSION.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DictionaryEncodedColumnPartSerde.VERSION valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromByte
public static DictionaryEncodedColumnPartSerde.VERSION fromByte(byte b)
-
asByte
public byte asByte()
-
-