Enum FateOperation
- java.lang.Object
-
- java.lang.Enum<FateOperation>
-
- org.apache.accumulo.core.master.thrift.FateOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<FateOperation>
,org.apache.thrift.TEnum
public enum FateOperation extends Enum<FateOperation> implements org.apache.thrift.TEnum
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FateOperation
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 FateOperation
valueOf(String name)
Returns the enum constant of this type with the specified name.static FateOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE_CREATE
public static final FateOperation TABLE_CREATE
-
TABLE_CLONE
public static final FateOperation TABLE_CLONE
-
TABLE_DELETE
public static final FateOperation TABLE_DELETE
-
TABLE_RENAME
public static final FateOperation TABLE_RENAME
-
TABLE_ONLINE
public static final FateOperation TABLE_ONLINE
-
TABLE_OFFLINE
public static final FateOperation TABLE_OFFLINE
-
TABLE_MERGE
public static final FateOperation TABLE_MERGE
-
TABLE_DELETE_RANGE
public static final FateOperation TABLE_DELETE_RANGE
-
TABLE_BULK_IMPORT
public static final FateOperation TABLE_BULK_IMPORT
-
TABLE_COMPACT
public static final FateOperation TABLE_COMPACT
-
TABLE_IMPORT
public static final FateOperation TABLE_IMPORT
-
TABLE_EXPORT
public static final FateOperation TABLE_EXPORT
-
TABLE_CANCEL_COMPACT
public static final FateOperation TABLE_CANCEL_COMPACT
-
NAMESPACE_CREATE
public static final FateOperation NAMESPACE_CREATE
-
NAMESPACE_DELETE
public static final FateOperation NAMESPACE_DELETE
-
NAMESPACE_RENAME
public static final FateOperation NAMESPACE_RENAME
-
TABLE_BULK_IMPORT2
public static final FateOperation TABLE_BULK_IMPORT2
-
-
Method Detail
-
values
public static FateOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FateOperation c : FateOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FateOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.- Specified by:
getValue
in interfaceorg.apache.thrift.TEnum
-
findByValue
public static FateOperation findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.- Returns:
- null if the value is not found.
-
-