public static enum Tablet.OPType extends Enum<Tablet.OPType> implements com.google.protobuf.ProtocolMessageEnum
openmldb.api.OPType| Enum Constant and Description |
|---|
kAddIndexOP
kAddIndexOP = 20; |
kAddReplicaOP
kAddReplicaOP = 2; |
kAddReplicaRemoteOP
kAddReplicaRemoteOP = 19; |
kAddReplicaSimplyRemoteOP
kAddReplicaSimplyRemoteOP = 17; |
kChangeLeaderOP
kChangeLeaderOP = 4; |
kCreateTableRemoteOP
kCreateTableRemoteOP = 15; |
kDelReplicaOP
kDelReplicaOP = 3; |
kDelReplicaRemoteOP
kDelReplicaRemoteOP = 18; |
kDropTableRemoteOP
kDropTableRemoteOP = 16; |
kMakeSnapshotOP
kMakeSnapshotOP = 1; |
kMigrateOP
kMigrateOP = 11; |
kOfflineReplicaOP
kOfflineReplicaOP = 5; |
kReAddReplicaNoSendOP
need not send snapshot
|
kReAddReplicaOP
kReAddReplicaOP = 6; |
kReAddReplicaSimplifyOP
table is exist, need run addreplica task only
|
kReAddReplicaWithDropOP
should droptable before loadtable
|
kRecoverTableOP
kRecoverTableOP = 14; |
kReLoadTableOP
kReLoadTableOP = 12; |
kUpdatePartitionStatusOP
kUpdatePartitionStatusOP = 13; |
kUpdateTableAliveOP
deleted
|
| Modifier and Type | Field and Description |
|---|---|
static int |
kAddIndexOP_VALUE
kAddIndexOP = 20; |
static int |
kAddReplicaOP_VALUE
kAddReplicaOP = 2; |
static int |
kAddReplicaRemoteOP_VALUE
kAddReplicaRemoteOP = 19; |
static int |
kAddReplicaSimplyRemoteOP_VALUE
kAddReplicaSimplyRemoteOP = 17; |
static int |
kChangeLeaderOP_VALUE
kChangeLeaderOP = 4; |
static int |
kCreateTableRemoteOP_VALUE
kCreateTableRemoteOP = 15; |
static int |
kDelReplicaOP_VALUE
kDelReplicaOP = 3; |
static int |
kDelReplicaRemoteOP_VALUE
kDelReplicaRemoteOP = 18; |
static int |
kDropTableRemoteOP_VALUE
kDropTableRemoteOP = 16; |
static int |
kMakeSnapshotOP_VALUE
kMakeSnapshotOP = 1; |
static int |
kMigrateOP_VALUE
kMigrateOP = 11; |
static int |
kOfflineReplicaOP_VALUE
kOfflineReplicaOP = 5; |
static int |
kReAddReplicaNoSendOP_VALUE
need not send snapshot
|
static int |
kReAddReplicaOP_VALUE
kReAddReplicaOP = 6; |
static int |
kReAddReplicaSimplifyOP_VALUE
table is exist, need run addreplica task only
|
static int |
kReAddReplicaWithDropOP_VALUE
should droptable before loadtable
|
static int |
kRecoverTableOP_VALUE
kRecoverTableOP = 14; |
static int |
kReLoadTableOP_VALUE
kReLoadTableOP = 12; |
static int |
kUpdatePartitionStatusOP_VALUE
kUpdatePartitionStatusOP = 13; |
static int |
kUpdateTableAliveOP_VALUE
deleted
|
| Modifier and Type | Method and Description |
|---|---|
static Tablet.OPType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Tablet.OPType> |
internalGetValueMap() |
static Tablet.OPType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Tablet.OPType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Tablet.OPType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tablet.OPType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tablet.OPType kMakeSnapshotOP
kMakeSnapshotOP = 1;public static final Tablet.OPType kAddReplicaOP
kAddReplicaOP = 2;public static final Tablet.OPType kDelReplicaOP
kDelReplicaOP = 3;public static final Tablet.OPType kChangeLeaderOP
kChangeLeaderOP = 4;public static final Tablet.OPType kOfflineReplicaOP
kOfflineReplicaOP = 5;public static final Tablet.OPType kReAddReplicaOP
kReAddReplicaOP = 6;public static final Tablet.OPType kReAddReplicaNoSendOP
need not send snapshot
kReAddReplicaNoSendOP = 7;public static final Tablet.OPType kReAddReplicaWithDropOP
should droptable before loadtable
kReAddReplicaWithDropOP = 8;public static final Tablet.OPType kReAddReplicaSimplifyOP
table is exist, need run addreplica task only
kReAddReplicaSimplifyOP = 9;public static final Tablet.OPType kUpdateTableAliveOP
deleted
kUpdateTableAliveOP = 10;public static final Tablet.OPType kMigrateOP
kMigrateOP = 11;public static final Tablet.OPType kReLoadTableOP
kReLoadTableOP = 12;public static final Tablet.OPType kUpdatePartitionStatusOP
kUpdatePartitionStatusOP = 13;public static final Tablet.OPType kRecoverTableOP
kRecoverTableOP = 14;public static final Tablet.OPType kCreateTableRemoteOP
kCreateTableRemoteOP = 15;public static final Tablet.OPType kDropTableRemoteOP
kDropTableRemoteOP = 16;public static final Tablet.OPType kAddReplicaSimplyRemoteOP
kAddReplicaSimplyRemoteOP = 17;public static final Tablet.OPType kDelReplicaRemoteOP
kDelReplicaRemoteOP = 18;public static final Tablet.OPType kAddReplicaRemoteOP
kAddReplicaRemoteOP = 19;public static final Tablet.OPType kAddIndexOP
kAddIndexOP = 20;public static final int kMakeSnapshotOP_VALUE
kMakeSnapshotOP = 1;public static final int kAddReplicaOP_VALUE
kAddReplicaOP = 2;public static final int kDelReplicaOP_VALUE
kDelReplicaOP = 3;public static final int kChangeLeaderOP_VALUE
kChangeLeaderOP = 4;public static final int kOfflineReplicaOP_VALUE
kOfflineReplicaOP = 5;public static final int kReAddReplicaOP_VALUE
kReAddReplicaOP = 6;public static final int kReAddReplicaNoSendOP_VALUE
need not send snapshot
kReAddReplicaNoSendOP = 7;public static final int kReAddReplicaWithDropOP_VALUE
should droptable before loadtable
kReAddReplicaWithDropOP = 8;public static final int kReAddReplicaSimplifyOP_VALUE
table is exist, need run addreplica task only
kReAddReplicaSimplifyOP = 9;public static final int kUpdateTableAliveOP_VALUE
deleted
kUpdateTableAliveOP = 10;public static final int kMigrateOP_VALUE
kMigrateOP = 11;public static final int kReLoadTableOP_VALUE
kReLoadTableOP = 12;public static final int kUpdatePartitionStatusOP_VALUE
kUpdatePartitionStatusOP = 13;public static final int kRecoverTableOP_VALUE
kRecoverTableOP = 14;public static final int kCreateTableRemoteOP_VALUE
kCreateTableRemoteOP = 15;public static final int kDropTableRemoteOP_VALUE
kDropTableRemoteOP = 16;public static final int kAddReplicaSimplyRemoteOP_VALUE
kAddReplicaSimplyRemoteOP = 17;public static final int kDelReplicaRemoteOP_VALUE
kDelReplicaRemoteOP = 18;public static final int kAddReplicaRemoteOP_VALUE
kAddReplicaRemoteOP = 19;public static final int kAddIndexOP_VALUE
kAddIndexOP = 20;public static Tablet.OPType[] values()
for (Tablet.OPType c : Tablet.OPType.values()) System.out.println(c);
public static Tablet.OPType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Tablet.OPType valueOf(int value)
forNumber(int) instead.public static Tablet.OPType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Tablet.OPType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Tablet.OPType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.