public static enum PreEventContext.PreEventType extends java.lang.Enum<PreEventContext.PreEventType>
Enum Constant and Description |
---|
ADD_PARTITION |
ALTER_PARTITION |
ALTER_TABLE |
CREATE_DATABASE |
CREATE_TABLE |
DROP_DATABASE |
DROP_PARTITION |
DROP_TABLE |
LOAD_PARTITION_DONE |
Modifier and Type | Method and Description |
---|---|
static PreEventContext.PreEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PreEventContext.PreEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreEventContext.PreEventType CREATE_TABLE
public static final PreEventContext.PreEventType DROP_TABLE
public static final PreEventContext.PreEventType ALTER_TABLE
public static final PreEventContext.PreEventType ADD_PARTITION
public static final PreEventContext.PreEventType DROP_PARTITION
public static final PreEventContext.PreEventType ALTER_PARTITION
public static final PreEventContext.PreEventType CREATE_DATABASE
public static final PreEventContext.PreEventType DROP_DATABASE
public static final PreEventContext.PreEventType LOAD_PARTITION_DONE
public static PreEventContext.PreEventType[] values()
for (PreEventContext.PreEventType c : PreEventContext.PreEventType.values()) System.out.println(c);
public static PreEventContext.PreEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2012 The Apache Software Foundation