Enum Class RegionCmdType

java.lang.Object
java.lang.Enum<RegionCmdType>
io.dingodb.sdk.service.entity.coordinator.RegionCmdType
All Implemented Interfaces:
Numeric, Serializable, Comparable<RegionCmdType>, Constable

public enum RegionCmdType extends Enum<RegionCmdType> implements Numeric
  • Enum Constant Details

    • UNRECOGNIZED

      public static final RegionCmdType UNRECOGNIZED
    • CMD_NONE

      public static final RegionCmdType CMD_NONE
    • CMD_CREATE

      public static final RegionCmdType CMD_CREATE
    • CMD_DELETE

      public static final RegionCmdType CMD_DELETE
    • CMD_SPLIT

      public static final RegionCmdType CMD_SPLIT
    • CMD_MERGE

      public static final RegionCmdType CMD_MERGE
    • CMD_CHANGE_PEER

      public static final RegionCmdType CMD_CHANGE_PEER
    • CMD_TRANSFER_LEADER

      public static final RegionCmdType CMD_TRANSFER_LEADER
    • CMD_SNAPSHOT

      public static final RegionCmdType CMD_SNAPSHOT
    • CMD_PURGE

      public static final RegionCmdType CMD_PURGE
    • CMD_SNAPSHOT_VECTOR_INDEX

      public static final RegionCmdType CMD_SNAPSHOT_VECTOR_INDEX
    • CMD_UPDATE_DEFINITION

      public static final RegionCmdType CMD_UPDATE_DEFINITION
    • CMD_SWITCH_SPLIT

      public static final RegionCmdType CMD_SWITCH_SPLIT
    • CMD_HOLD_VECTOR_INDEX

      public static final RegionCmdType CMD_HOLD_VECTOR_INDEX
    • CMD_STOP

      public static final RegionCmdType CMD_STOP
    • CMD_DESTROY_EXECUTOR

      public static final RegionCmdType CMD_DESTROY_EXECUTOR
    • CMD_DELETE_DATA

      public static final RegionCmdType CMD_DELETE_DATA
  • Field Details

    • number

      public final Integer number
  • Method Details

    • values

      public static 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 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
    • number

      public int number()
      Specified by:
      number in interface Numeric
    • forNumber

      public static RegionCmdType forNumber(int number)