Enum DataBlock.Type
- java.lang.Object
-
- java.lang.Enum<DataBlock.Type>
-
- org.apache.pinot.common.datablock.DataBlock.Type
-
- All Implemented Interfaces:
Serializable,Comparable<DataBlock.Type>,java.lang.constant.Constable
- Enclosing interface:
- DataBlock
public static enum DataBlock.Type extends Enum<DataBlock.Type>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description static DataBlock.TypefromOrdinal(int ordinal)static DataBlock.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static DataBlock.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROW
public static final DataBlock.Type ROW
-
COLUMNAR
public static final DataBlock.Type COLUMNAR
-
METADATA
public static final DataBlock.Type METADATA
-
-
Method Detail
-
values
public static DataBlock.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataBlock.Type 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
-
fromOrdinal
public static DataBlock.Type fromOrdinal(int ordinal)
-
-