public enum AdminCmd extends Enum<AdminCmd> implements com.facebook.thrift.TEnum
| Enum Constant and Description |
|---|
COMPACT |
DATA_BALANCE |
DOWNLOAD |
FLUSH |
INGEST |
LEADER_BALANCE |
REBUILD_EDGE_INDEX |
REBUILD_FULLTEXT_INDEX |
REBUILD_TAG_INDEX |
STATS |
UNKNOWN |
ZONE_BALANCE |
| Modifier and Type | Method and Description |
|---|---|
static AdminCmd |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static AdminCmd |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdminCmd[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminCmd COMPACT
public static final AdminCmd FLUSH
public static final AdminCmd REBUILD_TAG_INDEX
public static final AdminCmd REBUILD_EDGE_INDEX
public static final AdminCmd REBUILD_FULLTEXT_INDEX
public static final AdminCmd STATS
public static final AdminCmd DATA_BALANCE
public static final AdminCmd DOWNLOAD
public static final AdminCmd INGEST
public static final AdminCmd LEADER_BALANCE
public static final AdminCmd ZONE_BALANCE
public static final AdminCmd UNKNOWN
public static AdminCmd[] values()
for (AdminCmd c : AdminCmd.values()) System.out.println(c);
public static AdminCmd 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 int getValue()
getValue in interface com.facebook.thrift.TEnumpublic static AdminCmd findByValue(int value)
Copyright © 2022. All rights reserved.