Enum Class Coordinator.RegionCmdType

java.lang.Object
java.lang.Enum<Coordinator.RegionCmdType>
io.dingodb.coordinator.Coordinator.RegionCmdType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Coordinator.RegionCmdType>, Constable
Enclosing class:
Coordinator

public static enum Coordinator.RegionCmdType extends Enum<Coordinator.RegionCmdType> implements com.google.protobuf.ProtocolMessageEnum
 RegionCmdType
 
Protobuf enum dingodb.pb.coordinator.RegionCmdType
  • Enum Constant Details

    • CMD_NONE

      public static final Coordinator.RegionCmdType CMD_NONE
       this is a placeholder
       
      CMD_NONE = 0;
    • CMD_CREATE

      public static final Coordinator.RegionCmdType CMD_CREATE
       create region
       
      CMD_CREATE = 1;
    • CMD_DELETE

      public static final Coordinator.RegionCmdType CMD_DELETE
       delete region
       
      CMD_DELETE = 2;
    • CMD_SPLIT

      public static final Coordinator.RegionCmdType CMD_SPLIT
       split region
       
      CMD_SPLIT = 3;
    • CMD_MERGE

      public static final Coordinator.RegionCmdType CMD_MERGE
       merge region
       
      CMD_MERGE = 4;
    • CMD_CHANGE_PEER

      public static final Coordinator.RegionCmdType CMD_CHANGE_PEER
       change peer for region raft group
       
      CMD_CHANGE_PEER = 5;
    • CMD_TRANSFER_LEADER

      public static final Coordinator.RegionCmdType CMD_TRANSFER_LEADER
       transfer leader for region raft group
       
      CMD_TRANSFER_LEADER = 6;
    • CMD_SNAPSHOT

      public static final Coordinator.RegionCmdType CMD_SNAPSHOT
       save region snapshot
       
      CMD_SNAPSHOT = 7;
    • CMD_PURGE

      public static final Coordinator.RegionCmdType CMD_PURGE
       purge region's meta for deleted region
       
      CMD_PURGE = 8;
    • CMD_SNAPSHOT_VECTOR_INDEX

      public static final Coordinator.RegionCmdType CMD_SNAPSHOT_VECTOR_INDEX
       save vector index snapshot
       
      CMD_SNAPSHOT_VECTOR_INDEX = 9;
    • CMD_UPDATE_DEFINITION

      public static final Coordinator.RegionCmdType CMD_UPDATE_DEFINITION
       update definition, now only support hnsw index change max_elements
       
      CMD_UPDATE_DEFINITION = 10;
    • CMD_SWITCH_SPLIT

      public static final Coordinator.RegionCmdType CMD_SWITCH_SPLIT
       switch region enable/disable split.
       
      CMD_SWITCH_SPLIT = 11;
    • CMD_HOLD_VECTOR_INDEX

      public static final Coordinator.RegionCmdType CMD_HOLD_VECTOR_INDEX
       control follower hold vector index
       
      CMD_HOLD_VECTOR_INDEX = 12;
    • CMD_STOP

      public static final Coordinator.RegionCmdType CMD_STOP
       when region state ORPHAN, stop region
       
      CMD_STOP = 30;
    • CMD_DESTROY_EXECUTOR

      public static final Coordinator.RegionCmdType CMD_DESTROY_EXECUTOR
       destroy region executor
       
      CMD_DESTROY_EXECUTOR = 31;
    • CMD_DELETE_DATA

      public static final Coordinator.RegionCmdType CMD_DELETE_DATA
       bdb engine delete data when delete region
       
      CMD_DELETE_DATA = 32;
    • UNRECOGNIZED

      public static final Coordinator.RegionCmdType UNRECOGNIZED
  • Field Details

    • CMD_NONE_VALUE

      public static final int CMD_NONE_VALUE
       this is a placeholder
       
      CMD_NONE = 0;
      See Also:
    • CMD_CREATE_VALUE

      public static final int CMD_CREATE_VALUE
       create region
       
      CMD_CREATE = 1;
      See Also:
    • CMD_DELETE_VALUE

      public static final int CMD_DELETE_VALUE
       delete region
       
      CMD_DELETE = 2;
      See Also:
    • CMD_SPLIT_VALUE

      public static final int CMD_SPLIT_VALUE
       split region
       
      CMD_SPLIT = 3;
      See Also:
    • CMD_MERGE_VALUE

      public static final int CMD_MERGE_VALUE
       merge region
       
      CMD_MERGE = 4;
      See Also:
    • CMD_CHANGE_PEER_VALUE

      public static final int CMD_CHANGE_PEER_VALUE
       change peer for region raft group
       
      CMD_CHANGE_PEER = 5;
      See Also:
    • CMD_TRANSFER_LEADER_VALUE

      public static final int CMD_TRANSFER_LEADER_VALUE
       transfer leader for region raft group
       
      CMD_TRANSFER_LEADER = 6;
      See Also:
    • CMD_SNAPSHOT_VALUE

      public static final int CMD_SNAPSHOT_VALUE
       save region snapshot
       
      CMD_SNAPSHOT = 7;
      See Also:
    • CMD_PURGE_VALUE

      public static final int CMD_PURGE_VALUE
       purge region's meta for deleted region
       
      CMD_PURGE = 8;
      See Also:
    • CMD_SNAPSHOT_VECTOR_INDEX_VALUE

      public static final int CMD_SNAPSHOT_VECTOR_INDEX_VALUE
       save vector index snapshot
       
      CMD_SNAPSHOT_VECTOR_INDEX = 9;
      See Also:
    • CMD_UPDATE_DEFINITION_VALUE

      public static final int CMD_UPDATE_DEFINITION_VALUE
       update definition, now only support hnsw index change max_elements
       
      CMD_UPDATE_DEFINITION = 10;
      See Also:
    • CMD_SWITCH_SPLIT_VALUE

      public static final int CMD_SWITCH_SPLIT_VALUE
       switch region enable/disable split.
       
      CMD_SWITCH_SPLIT = 11;
      See Also:
    • CMD_HOLD_VECTOR_INDEX_VALUE

      public static final int CMD_HOLD_VECTOR_INDEX_VALUE
       control follower hold vector index
       
      CMD_HOLD_VECTOR_INDEX = 12;
      See Also:
    • CMD_STOP_VALUE

      public static final int CMD_STOP_VALUE
       when region state ORPHAN, stop region
       
      CMD_STOP = 30;
      See Also:
    • CMD_DESTROY_EXECUTOR_VALUE

      public static final int CMD_DESTROY_EXECUTOR_VALUE
       destroy region executor
       
      CMD_DESTROY_EXECUTOR = 31;
      See Also:
    • CMD_DELETE_DATA_VALUE

      public static final int CMD_DELETE_DATA_VALUE
       bdb engine delete data when delete region
       
      CMD_DELETE_DATA = 32;
      See Also:
  • Method Details

    • values

      public static Coordinator.RegionCmdType[] 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

      public static Coordinator.RegionCmdType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static Coordinator.RegionCmdType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static Coordinator.RegionCmdType forNumber(int value)
      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.RegionCmdType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Coordinator.RegionCmdType 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 name
      NullPointerException - if the argument is null