Package org.apache.druid.indexer
Enum IngestionState
- java.lang.Object
-
- java.lang.Enum<IngestionState>
-
- org.apache.druid.indexer.IngestionState
-
- All Implemented Interfaces:
Serializable,Comparable<IngestionState>
public enum IngestionState extends Enum<IngestionState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILD_SEGMENTSCOMPLETEDDETERMINE_PARTITIONSNOT_STARTEDSEGMENT_AVAILABILITY_WAIT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IngestionStatevalueOf(String name)Returns the enum constant of this type with the specified name.static IngestionState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_STARTED
public static final IngestionState NOT_STARTED
-
DETERMINE_PARTITIONS
public static final IngestionState DETERMINE_PARTITIONS
-
BUILD_SEGMENTS
public static final IngestionState BUILD_SEGMENTS
-
SEGMENT_AVAILABILITY_WAIT
public static final IngestionState SEGMENT_AVAILABILITY_WAIT
-
COMPLETED
public static final IngestionState COMPLETED
-
-
Method Detail
-
values
public static IngestionState[] 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 (IngestionState c : IngestionState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IngestionState 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
-
-