Package org.apache.pinot.spi.utils
Enum CommonConstants.Segment.Realtime.CompletionMode
- java.lang.Object
-
- java.lang.Enum<CommonConstants.Segment.Realtime.CompletionMode>
-
- org.apache.pinot.spi.utils.CommonConstants.Segment.Realtime.CompletionMode
-
- All Implemented Interfaces:
Serializable,Comparable<CommonConstants.Segment.Realtime.CompletionMode>,java.lang.constant.Constable
- Enclosing class:
- CommonConstants.Segment.Realtime
public static enum CommonConstants.Segment.Realtime.CompletionMode extends Enum<CommonConstants.Segment.Realtime.CompletionMode>
During realtime segment completion, the value of this enum decides how non-winner servers should replace the completed segment.
-
-
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 CommonConstants.Segment.Realtime.CompletionModevalueOf(String name)Returns the enum constant of this type with the specified name.static CommonConstants.Segment.Realtime.CompletionMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final CommonConstants.Segment.Realtime.CompletionMode DEFAULT
-
DOWNLOAD
public static final CommonConstants.Segment.Realtime.CompletionMode DOWNLOAD
-
-
Method Detail
-
values
public static CommonConstants.Segment.Realtime.CompletionMode[] 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 CommonConstants.Segment.Realtime.CompletionMode 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
-
-