Enum Class Raft.CmdType

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

public static enum Raft.CmdType extends Enum<Raft.CmdType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum dingodb.pb.raft.CmdType
  • Enum Constant Details

    • NONE

      public static final Raft.CmdType NONE
      NONE = 0;
    • PUT

      public static final Raft.CmdType PUT
      PUT = 1;
    • PUTIFABSENT

      public static final Raft.CmdType PUTIFABSENT
      PUTIFABSENT = 2;
    • DELETERANGE

      public static final Raft.CmdType DELETERANGE
      DELETERANGE = 3;
    • DELETEBATCH

      public static final Raft.CmdType DELETEBATCH
      DELETEBATCH = 4;
    • SPLIT

      public static final Raft.CmdType SPLIT
      SPLIT = 5;
    • COMPAREANDSET

      public static final Raft.CmdType COMPAREANDSET
      COMPAREANDSET = 6;
    • PREPARE_MERGE

      public static final Raft.CmdType PREPARE_MERGE
      PREPARE_MERGE = 7;
    • COMMIT_MERGE

      public static final Raft.CmdType COMMIT_MERGE
      COMMIT_MERGE = 8;
    • ROLLBACK_MERGE

      public static final Raft.CmdType ROLLBACK_MERGE
      ROLLBACK_MERGE = 9;
    • SAVE_RAFT_SNAPSHOT

      public static final Raft.CmdType SAVE_RAFT_SNAPSHOT
      SAVE_RAFT_SNAPSHOT = 100;
    • META_WRITE

      public static final Raft.CmdType META_WRITE
       Coordinator State Machine Operator
       
      META_WRITE = 2000;
    • VECTOR_ADD

      public static final Raft.CmdType VECTOR_ADD
       vector [3000,4000]
       
      VECTOR_ADD = 3000;
    • VECTOR_DELETE

      public static final Raft.CmdType VECTOR_DELETE
      VECTOR_DELETE = 3001;
    • REBUILD_VECTOR_INDEX

      public static final Raft.CmdType REBUILD_VECTOR_INDEX
      REBUILD_VECTOR_INDEX = 3010;
    • VECTOR_BATCH_ADD

      public static final Raft.CmdType VECTOR_BATCH_ADD
      VECTOR_BATCH_ADD = 3011;
    • DOCUMENT_ADD

      public static final Raft.CmdType DOCUMENT_ADD
       document [5000,6000]
       
      DOCUMENT_ADD = 5000;
    • DOCUMENT_DELETE

      public static final Raft.CmdType DOCUMENT_DELETE
      DOCUMENT_DELETE = 5001;
    • DOCUMENT_BATCH_ADD

      public static final Raft.CmdType DOCUMENT_BATCH_ADD
      DOCUMENT_BATCH_ADD = 5002;
    • TXN

      public static final Raft.CmdType TXN
       txn
       
      TXN = 4000;
    • UNRECOGNIZED

      public static final Raft.CmdType UNRECOGNIZED
  • Field Details

    • NONE_VALUE

      public static final int NONE_VALUE
      NONE = 0;
      See Also:
    • PUT_VALUE

      public static final int PUT_VALUE
      PUT = 1;
      See Also:
    • PUTIFABSENT_VALUE

      public static final int PUTIFABSENT_VALUE
      PUTIFABSENT = 2;
      See Also:
    • DELETERANGE_VALUE

      public static final int DELETERANGE_VALUE
      DELETERANGE = 3;
      See Also:
    • DELETEBATCH_VALUE

      public static final int DELETEBATCH_VALUE
      DELETEBATCH = 4;
      See Also:
    • SPLIT_VALUE

      public static final int SPLIT_VALUE
      SPLIT = 5;
      See Also:
    • COMPAREANDSET_VALUE

      public static final int COMPAREANDSET_VALUE
      COMPAREANDSET = 6;
      See Also:
    • PREPARE_MERGE_VALUE

      public static final int PREPARE_MERGE_VALUE
      PREPARE_MERGE = 7;
      See Also:
    • COMMIT_MERGE_VALUE

      public static final int COMMIT_MERGE_VALUE
      COMMIT_MERGE = 8;
      See Also:
    • ROLLBACK_MERGE_VALUE

      public static final int ROLLBACK_MERGE_VALUE
      ROLLBACK_MERGE = 9;
      See Also:
    • SAVE_RAFT_SNAPSHOT_VALUE

      public static final int SAVE_RAFT_SNAPSHOT_VALUE
      SAVE_RAFT_SNAPSHOT = 100;
      See Also:
    • META_WRITE_VALUE

      public static final int META_WRITE_VALUE
       Coordinator State Machine Operator
       
      META_WRITE = 2000;
      See Also:
    • VECTOR_ADD_VALUE

      public static final int VECTOR_ADD_VALUE
       vector [3000,4000]
       
      VECTOR_ADD = 3000;
      See Also:
    • VECTOR_DELETE_VALUE

      public static final int VECTOR_DELETE_VALUE
      VECTOR_DELETE = 3001;
      See Also:
    • REBUILD_VECTOR_INDEX_VALUE

      public static final int REBUILD_VECTOR_INDEX_VALUE
      REBUILD_VECTOR_INDEX = 3010;
      See Also:
    • VECTOR_BATCH_ADD_VALUE

      public static final int VECTOR_BATCH_ADD_VALUE
      VECTOR_BATCH_ADD = 3011;
      See Also:
    • DOCUMENT_ADD_VALUE

      public static final int DOCUMENT_ADD_VALUE
       document [5000,6000]
       
      DOCUMENT_ADD = 5000;
      See Also:
    • DOCUMENT_DELETE_VALUE

      public static final int DOCUMENT_DELETE_VALUE
      DOCUMENT_DELETE = 5001;
      See Also:
    • DOCUMENT_BATCH_ADD_VALUE

      public static final int DOCUMENT_BATCH_ADD_VALUE
      DOCUMENT_BATCH_ADD = 5002;
      See Also:
    • TXN_VALUE

      public static final int TXN_VALUE
       txn
       
      TXN = 4000;
      See Also:
  • Method Details

    • values

      public static Raft.CmdType[] 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 Raft.CmdType 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 Raft.CmdType 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 Raft.CmdType 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<Raft.CmdType> 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 Raft.CmdType 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