Package io.dingodb.coordinator
Enum Class Coordinator.IdEpochType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Coordinator.IdEpochType>,Constable
- Enclosing class:
- Coordinator
public static enum Coordinator.IdEpochType
extends Enum<Coordinator.IdEpochType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
dingodb.pb.coordinator.IdEpochType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEPOCH_COORINATOR = 11;EPOCH_EXECUTOR = 13;EPOCH_INDEX = 17;EPOCH_MDS = 18;EPOCH_REGION = 15;EPOCH_SCHEMA = 14;EPOCH_STORE = 12;EPOCH_TABLE = 16;ID_DDL_JOB = 52;ID_GC_RESOLVE_LOCK_SAFE_POINT = 53;ID_GC_SAFE_POINT = 50;ID_NEXT_COORINATOR = 1;ID_NEXT_EXECUTOR = 3;deprecated for index id auto_incrementID_NEXT_JOB = 32;ID_NEXT_LEASE = 40;ID_NEXT_META_WATCH = 42;ID_NEXT_REGION = 5;ID_NEXT_REGION_CMD = 31;ID_NEXT_REVISION = 41;ID_NEXT_SCHEMA = 4;ID_NEXT_STORE = 2;ID_NEXT_TABLE = 6;ID_NEXT_TENANT = 8;this is a placeholderfor online ddlRAFT_APPLY_INDEX = 22;RAFT_APPLY_TERM = 21; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEPOCH_COORINATOR = 11;static final intEPOCH_EXECUTOR = 13;static final intEPOCH_INDEX = 17;static final intEPOCH_MDS = 18;static final intEPOCH_REGION = 15;static final intEPOCH_SCHEMA = 14;static final intEPOCH_STORE = 12;static final intEPOCH_TABLE = 16;static final intID_DDL_JOB = 52;static final intID_GC_RESOLVE_LOCK_SAFE_POINT = 53;static final intID_GC_SAFE_POINT = 50;static final intID_NEXT_COORINATOR = 1;static final intID_NEXT_EXECUTOR = 3;static final intdeprecated for index id auto_incrementstatic final intID_NEXT_JOB = 32;static final intID_NEXT_LEASE = 40;static final intID_NEXT_META_WATCH = 42;static final intID_NEXT_REGION_CMD = 31;static final intID_NEXT_REGION = 5;static final intID_NEXT_REVISION = 41;static final intID_NEXT_SCHEMA = 4;static final intID_NEXT_STORE = 2;static final intID_NEXT_TABLE = 6;static final intID_NEXT_TENANT = 8;static final intthis is a placeholderstatic final intfor online ddlstatic final intRAFT_APPLY_INDEX = 22;static final intRAFT_APPLY_TERM = 21; -
Method Summary
Modifier and TypeMethodDescriptionstatic Coordinator.IdEpochTypeforNumber(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<Coordinator.IdEpochType>static Coordinator.IdEpochTypevalueOf(int value) Deprecated.static Coordinator.IdEpochTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static Coordinator.IdEpochTypeReturns the enum constant of this class with the specified name.static Coordinator.IdEpochType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ID_NONE
this is a placeholder
ID_NONE = 0; -
ID_NEXT_COORINATOR
ID_NEXT_COORINATOR = 1; -
ID_NEXT_STORE
ID_NEXT_STORE = 2; -
ID_NEXT_EXECUTOR
ID_NEXT_EXECUTOR = 3; -
ID_NEXT_SCHEMA
ID_NEXT_SCHEMA = 4; -
ID_NEXT_REGION
ID_NEXT_REGION = 5; -
ID_NEXT_TABLE
ID_NEXT_TABLE = 6; -
ID_NEXT_INDEX
deprecated for index id auto_increment
ID_NEXT_INDEX = 7; -
ID_NEXT_TENANT
ID_NEXT_TENANT = 8; -
EPOCH_COORINATOR
EPOCH_COORINATOR = 11; -
EPOCH_STORE
EPOCH_STORE = 12; -
EPOCH_EXECUTOR
EPOCH_EXECUTOR = 13; -
EPOCH_SCHEMA
EPOCH_SCHEMA = 14; -
EPOCH_REGION
EPOCH_REGION = 15; -
EPOCH_TABLE
EPOCH_TABLE = 16; -
EPOCH_INDEX
EPOCH_INDEX = 17; -
EPOCH_MDS
EPOCH_MDS = 18; -
RAFT_APPLY_TERM
RAFT_APPLY_TERM = 21; -
RAFT_APPLY_INDEX
RAFT_APPLY_INDEX = 22; -
ID_NEXT_REGION_CMD
ID_NEXT_REGION_CMD = 31; -
ID_NEXT_JOB
ID_NEXT_JOB = 32; -
ID_NEXT_LEASE
ID_NEXT_LEASE = 40; -
ID_NEXT_REVISION
ID_NEXT_REVISION = 41; -
ID_NEXT_META_WATCH
ID_NEXT_META_WATCH = 42; -
ID_GC_SAFE_POINT
ID_GC_SAFE_POINT = 50; -
ID_SCHEMA_VERSION
for online ddl
ID_SCHEMA_VERSION = 51; -
ID_DDL_JOB
ID_DDL_JOB = 52; -
ID_GC_RESOLVE_LOCK_SAFE_POINT
ID_GC_RESOLVE_LOCK_SAFE_POINT = 53; -
UNRECOGNIZED
-
-
Field Details
-
ID_NONE_VALUE
public static final int ID_NONE_VALUEthis is a placeholder
ID_NONE = 0;- See Also:
-
ID_NEXT_COORINATOR_VALUE
public static final int ID_NEXT_COORINATOR_VALUEID_NEXT_COORINATOR = 1;- See Also:
-
ID_NEXT_STORE_VALUE
public static final int ID_NEXT_STORE_VALUEID_NEXT_STORE = 2;- See Also:
-
ID_NEXT_EXECUTOR_VALUE
public static final int ID_NEXT_EXECUTOR_VALUEID_NEXT_EXECUTOR = 3;- See Also:
-
ID_NEXT_SCHEMA_VALUE
public static final int ID_NEXT_SCHEMA_VALUEID_NEXT_SCHEMA = 4;- See Also:
-
ID_NEXT_REGION_VALUE
public static final int ID_NEXT_REGION_VALUEID_NEXT_REGION = 5;- See Also:
-
ID_NEXT_TABLE_VALUE
public static final int ID_NEXT_TABLE_VALUEID_NEXT_TABLE = 6;- See Also:
-
ID_NEXT_INDEX_VALUE
public static final int ID_NEXT_INDEX_VALUEdeprecated for index id auto_increment
ID_NEXT_INDEX = 7;- See Also:
-
ID_NEXT_TENANT_VALUE
public static final int ID_NEXT_TENANT_VALUEID_NEXT_TENANT = 8;- See Also:
-
EPOCH_COORINATOR_VALUE
public static final int EPOCH_COORINATOR_VALUEEPOCH_COORINATOR = 11;- See Also:
-
EPOCH_STORE_VALUE
public static final int EPOCH_STORE_VALUEEPOCH_STORE = 12;- See Also:
-
EPOCH_EXECUTOR_VALUE
public static final int EPOCH_EXECUTOR_VALUEEPOCH_EXECUTOR = 13;- See Also:
-
EPOCH_SCHEMA_VALUE
public static final int EPOCH_SCHEMA_VALUEEPOCH_SCHEMA = 14;- See Also:
-
EPOCH_REGION_VALUE
public static final int EPOCH_REGION_VALUEEPOCH_REGION = 15;- See Also:
-
EPOCH_TABLE_VALUE
public static final int EPOCH_TABLE_VALUEEPOCH_TABLE = 16;- See Also:
-
EPOCH_INDEX_VALUE
public static final int EPOCH_INDEX_VALUEEPOCH_INDEX = 17;- See Also:
-
EPOCH_MDS_VALUE
public static final int EPOCH_MDS_VALUEEPOCH_MDS = 18;- See Also:
-
RAFT_APPLY_TERM_VALUE
public static final int RAFT_APPLY_TERM_VALUERAFT_APPLY_TERM = 21;- See Also:
-
RAFT_APPLY_INDEX_VALUE
public static final int RAFT_APPLY_INDEX_VALUERAFT_APPLY_INDEX = 22;- See Also:
-
ID_NEXT_REGION_CMD_VALUE
public static final int ID_NEXT_REGION_CMD_VALUEID_NEXT_REGION_CMD = 31;- See Also:
-
ID_NEXT_JOB_VALUE
public static final int ID_NEXT_JOB_VALUEID_NEXT_JOB = 32;- See Also:
-
ID_NEXT_LEASE_VALUE
public static final int ID_NEXT_LEASE_VALUEID_NEXT_LEASE = 40;- See Also:
-
ID_NEXT_REVISION_VALUE
public static final int ID_NEXT_REVISION_VALUEID_NEXT_REVISION = 41;- See Also:
-
ID_NEXT_META_WATCH_VALUE
public static final int ID_NEXT_META_WATCH_VALUEID_NEXT_META_WATCH = 42;- See Also:
-
ID_GC_SAFE_POINT_VALUE
public static final int ID_GC_SAFE_POINT_VALUEID_GC_SAFE_POINT = 50;- See Also:
-
ID_SCHEMA_VERSION_VALUE
public static final int ID_SCHEMA_VERSION_VALUEfor online ddl
ID_SCHEMA_VERSION = 51;- See Also:
-
ID_DDL_JOB_VALUE
public static final int ID_DDL_JOB_VALUEID_DDL_JOB = 52;- See Also:
-
ID_GC_RESOLVE_LOCK_SAFE_POINT_VALUE
public static final int ID_GC_RESOLVE_LOCK_SAFE_POINT_VALUEID_GC_RESOLVE_LOCK_SAFE_POINT = 53;- 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<Coordinator.IdEpochType> 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 Coordinator.IdEpochType 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
-