Package io.milvus.v2.service.utility
Enum OptimizeTask.ProgressStage
- java.lang.Object
-
- java.lang.Enum<OptimizeTask.ProgressStage>
-
- io.milvus.v2.service.utility.OptimizeTask.ProgressStage
-
- All Implemented Interfaces:
Serializable,Comparable<OptimizeTask.ProgressStage>
- Enclosing class:
- OptimizeTask
public static enum OptimizeTask.ProgressStage extends Enum<OptimizeTask.ProgressStage>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCOMPACTINGINITIALIZINGREFRESHING_LOADWAITING_FOR_COMPACTIONWAITING_FOR_INDEX_REBUILDWAITING_FOR_INDEXES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()StringtoString()static OptimizeTask.ProgressStagevalueOf(String name)Returns the enum constant of this type with the specified name.static OptimizeTask.ProgressStage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIALIZING
public static final OptimizeTask.ProgressStage INITIALIZING
-
WAITING_FOR_INDEXES
public static final OptimizeTask.ProgressStage WAITING_FOR_INDEXES
-
COMPACTING
public static final OptimizeTask.ProgressStage COMPACTING
-
WAITING_FOR_COMPACTION
public static final OptimizeTask.ProgressStage WAITING_FOR_COMPACTION
-
WAITING_FOR_INDEX_REBUILD
public static final OptimizeTask.ProgressStage WAITING_FOR_INDEX_REBUILD
-
REFRESHING_LOAD
public static final OptimizeTask.ProgressStage REFRESHING_LOAD
-
CANCELLED
public static final OptimizeTask.ProgressStage CANCELLED
-
-
Method Detail
-
values
public static OptimizeTask.ProgressStage[] 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 (OptimizeTask.ProgressStage c : OptimizeTask.ProgressStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptimizeTask.ProgressStage 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
-
getDescription
public String getDescription()
-
toString
public String toString()
- Overrides:
toStringin classEnum<OptimizeTask.ProgressStage>
-
-