org.apache.hadoop.hive.metastore.events
Enum PreEventContext.PreEventType
java.lang.Object
java.lang.Enum<PreEventContext.PreEventType>
org.apache.hadoop.hive.metastore.events.PreEventContext.PreEventType
- All Implemented Interfaces:
- Serializable, Comparable<PreEventContext.PreEventType>
- Enclosing class:
- PreEventContext
public static enum PreEventContext.PreEventType
- extends Enum<PreEventContext.PreEventType>
CREATE_TABLE
public static final PreEventContext.PreEventType CREATE_TABLE
DROP_TABLE
public static final PreEventContext.PreEventType DROP_TABLE
ALTER_TABLE
public static final PreEventContext.PreEventType ALTER_TABLE
ADD_PARTITION
public static final PreEventContext.PreEventType ADD_PARTITION
DROP_PARTITION
public static final PreEventContext.PreEventType DROP_PARTITION
ALTER_PARTITION
public static final PreEventContext.PreEventType ALTER_PARTITION
CREATE_DATABASE
public static final PreEventContext.PreEventType CREATE_DATABASE
DROP_DATABASE
public static final PreEventContext.PreEventType DROP_DATABASE
LOAD_PARTITION_DONE
public static final PreEventContext.PreEventType LOAD_PARTITION_DONE
values
public static PreEventContext.PreEventType[] 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 (PreEventContext.PreEventType c : PreEventContext.PreEventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PreEventContext.PreEventType 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 © 2011 The Apache Software Foundation