public enum TableOperationExceptionType extends Enum<TableOperationExceptionType> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
BAD_RANGE |
BULK_BAD_ERROR_DIRECTORY |
BULK_BAD_INPUT_DIRECTORY |
EXISTS |
INVALID_NAME |
NAMESPACE_EXISTS |
NAMESPACE_NOTFOUND |
NOTFOUND |
OFFLINE |
OTHER |
Modifier and Type | Method and Description |
---|---|
static TableOperationExceptionType |
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 TableOperationExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableOperationExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableOperationExceptionType EXISTS
public static final TableOperationExceptionType NOTFOUND
public static final TableOperationExceptionType OFFLINE
public static final TableOperationExceptionType BULK_BAD_INPUT_DIRECTORY
public static final TableOperationExceptionType BULK_BAD_ERROR_DIRECTORY
public static final TableOperationExceptionType BAD_RANGE
public static final TableOperationExceptionType OTHER
public static final TableOperationExceptionType NAMESPACE_EXISTS
public static final TableOperationExceptionType NAMESPACE_NOTFOUND
public static final TableOperationExceptionType INVALID_NAME
public static TableOperationExceptionType[] values()
for (TableOperationExceptionType c : TableOperationExceptionType.values()) System.out.println(c);
public static TableOperationExceptionType 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 TableOperationExceptionType findByValue(int value)
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.