org.apache.hadoop.hive.ql.hooks
Enum ReadEntity.Type
java.lang.Object
java.lang.Enum<ReadEntity.Type>
org.apache.hadoop.hive.ql.hooks.ReadEntity.Type
- All Implemented Interfaces:
- Serializable, Comparable<ReadEntity.Type>
- Enclosing class:
- ReadEntity
public static enum ReadEntity.Type
- extends Enum<ReadEntity.Type>
Enum that tells what time of a read entity this is.
Method Summary |
static ReadEntity.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReadEntity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
TABLE
public static final ReadEntity.Type TABLE
PARTITION
public static final ReadEntity.Type PARTITION
values
public static ReadEntity.Type[] 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 (ReadEntity.Type c : ReadEntity.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReadEntity.Type 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 name
NullPointerException
- if the argument is null
Copyright © 2010 The Apache Software Foundation