Package org.apache.pinot.common.utils
Enum SegmentName.RealtimeSegmentType
- java.lang.Object
-
- java.lang.Enum<SegmentName.RealtimeSegmentType>
-
- org.apache.pinot.common.utils.SegmentName.RealtimeSegmentType
-
- All Implemented Interfaces:
Serializable,Comparable<SegmentName.RealtimeSegmentType>,java.lang.constant.Constable
- Enclosing class:
- SegmentName
public static enum SegmentName.RealtimeSegmentType extends Enum<SegmentName.RealtimeSegmentType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HLC_LONGHLC_SHORTLLCUNSUPPORTED
-
Method Summary
Modifier and Type Method Description static SegmentName.RealtimeSegmentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SegmentName.RealtimeSegmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSUPPORTED
public static final SegmentName.RealtimeSegmentType UNSUPPORTED
-
HLC_LONG
public static final SegmentName.RealtimeSegmentType HLC_LONG
-
HLC_SHORT
public static final SegmentName.RealtimeSegmentType HLC_SHORT
-
LLC
public static final SegmentName.RealtimeSegmentType LLC
-
-
Method Detail
-
values
public static SegmentName.RealtimeSegmentType[] 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 SegmentName.RealtimeSegmentType 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
-
-