Package io.dingodb.common
Enum Class Common.RegionVectorIndexStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Common.RegionVectorIndexStatus>,Constable
- Enclosing class:
- Common
public static enum Common.RegionVectorIndexStatus
extends Enum<Common.RegionVectorIndexStatus>
implements com.google.protobuf.ProtocolMessageEnum
This enum defines the possible states of a region vector index.Protobuf enum
dingodb.pb.common.RegionVectorIndexStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe index is being built.The index is delete state.The index is in an error state.The index is being loaded.The index has no status.The index is in a normal state.The index is being rebuilt.The index is replaying wal.The index is being snapshotted. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe index is being built.static final intThe index is delete state.static final intThe index is in an error state.static final intThe index is being loaded.static final intThe index has no status.static final intThe index is in a normal state.static final intThe index is being rebuilt.static final intThe index is replaying wal.static final intThe index is being snapshotted. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Common.RegionVectorIndexStatus>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static Common.RegionVectorIndexStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VECTOR_INDEX_STATUS_NONE
The index has no status.
VECTOR_INDEX_STATUS_NONE = 0; -
VECTOR_INDEX_STATUS_NORMAL
The index is in a normal state.
VECTOR_INDEX_STATUS_NORMAL = 1; -
VECTOR_INDEX_STATUS_BUILDING
The index is being built.
VECTOR_INDEX_STATUS_BUILDING = 2; -
VECTOR_INDEX_STATUS_REBUILDING
The index is being rebuilt.
VECTOR_INDEX_STATUS_REBUILDING = 3; -
VECTOR_INDEX_STATUS_LOADING
The index is being loaded.
VECTOR_INDEX_STATUS_LOADING = 4; -
VECTOR_INDEX_STATUS_SNAPSHOTTING
The index is being snapshotted.
VECTOR_INDEX_STATUS_SNAPSHOTTING = 5; -
VECTOR_INDEX_STATUS_REPLAYING
The index is replaying wal.
VECTOR_INDEX_STATUS_REPLAYING = 6; -
VECTOR_INDEX_STATUS_ERROR
The index is in an error state.
VECTOR_INDEX_STATUS_ERROR = 10; -
VECTOR_INDEX_STATUS_DELETE
The index is delete state.
VECTOR_INDEX_STATUS_DELETE = 11; -
UNRECOGNIZED
-
-
Field Details
-
VECTOR_INDEX_STATUS_NONE_VALUE
public static final int VECTOR_INDEX_STATUS_NONE_VALUEThe index has no status.
VECTOR_INDEX_STATUS_NONE = 0;- See Also:
-
VECTOR_INDEX_STATUS_NORMAL_VALUE
public static final int VECTOR_INDEX_STATUS_NORMAL_VALUEThe index is in a normal state.
VECTOR_INDEX_STATUS_NORMAL = 1;- See Also:
-
VECTOR_INDEX_STATUS_BUILDING_VALUE
public static final int VECTOR_INDEX_STATUS_BUILDING_VALUEThe index is being built.
VECTOR_INDEX_STATUS_BUILDING = 2;- See Also:
-
VECTOR_INDEX_STATUS_REBUILDING_VALUE
public static final int VECTOR_INDEX_STATUS_REBUILDING_VALUEThe index is being rebuilt.
VECTOR_INDEX_STATUS_REBUILDING = 3;- See Also:
-
VECTOR_INDEX_STATUS_LOADING_VALUE
public static final int VECTOR_INDEX_STATUS_LOADING_VALUEThe index is being loaded.
VECTOR_INDEX_STATUS_LOADING = 4;- See Also:
-
VECTOR_INDEX_STATUS_SNAPSHOTTING_VALUE
public static final int VECTOR_INDEX_STATUS_SNAPSHOTTING_VALUEThe index is being snapshotted.
VECTOR_INDEX_STATUS_SNAPSHOTTING = 5;- See Also:
-
VECTOR_INDEX_STATUS_REPLAYING_VALUE
public static final int VECTOR_INDEX_STATUS_REPLAYING_VALUEThe index is replaying wal.
VECTOR_INDEX_STATUS_REPLAYING = 6;- See Also:
-
VECTOR_INDEX_STATUS_ERROR_VALUE
public static final int VECTOR_INDEX_STATUS_ERROR_VALUEThe index is in an error state.
VECTOR_INDEX_STATUS_ERROR = 10;- See Also:
-
VECTOR_INDEX_STATUS_DELETE_VALUE
public static final int VECTOR_INDEX_STATUS_DELETE_VALUEThe index is delete state.
VECTOR_INDEX_STATUS_DELETE = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Common.RegionVectorIndexStatus> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Common.RegionVectorIndexStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-