public enum TableOperation extends Enum<TableOperation> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
BULK_IMPORT |
CLONE |
COMPACT |
COMPACT_CANCEL |
CREATE |
DELETE |
DELETE_RANGE |
EXPORT |
FLUSH |
IMPORT |
MERGE |
OFFLINE |
ONLINE |
PERMISSION |
REMOVE_PROPERTY |
RENAME |
SET_PROPERTY |
Modifier and Type | Method and Description |
---|---|
static TableOperation |
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 TableOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableOperation CREATE
public static final TableOperation DELETE
public static final TableOperation RENAME
public static final TableOperation SET_PROPERTY
public static final TableOperation REMOVE_PROPERTY
public static final TableOperation OFFLINE
public static final TableOperation ONLINE
public static final TableOperation FLUSH
public static final TableOperation PERMISSION
public static final TableOperation CLONE
public static final TableOperation MERGE
public static final TableOperation DELETE_RANGE
public static final TableOperation BULK_IMPORT
public static final TableOperation COMPACT
public static final TableOperation IMPORT
public static final TableOperation EXPORT
public static final TableOperation COMPACT_CANCEL
public static TableOperation[] values()
for (TableOperation c : TableOperation.values()) System.out.println(c);
public static TableOperation 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 org.apache.thrift.TEnum
public static TableOperation findByValue(int value)
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.