public static enum HCatEventMessage.EventType extends java.lang.Enum<HCatEventMessage.EventType>
Enum Constant and Description |
---|
ADD_PARTITION |
CREATE_DATABASE |
CREATE_TABLE |
DROP_DATABASE |
DROP_PARTITION |
DROP_TABLE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static HCatEventMessage.EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HCatEventMessage.EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HCatEventMessage.EventType CREATE_DATABASE
public static final HCatEventMessage.EventType DROP_DATABASE
public static final HCatEventMessage.EventType CREATE_TABLE
public static final HCatEventMessage.EventType DROP_TABLE
public static final HCatEventMessage.EventType ADD_PARTITION
public static final HCatEventMessage.EventType DROP_PARTITION
public static HCatEventMessage.EventType[] values()
for (HCatEventMessage.EventType c : HCatEventMessage.EventType.values()) System.out.println(c);
public static HCatEventMessage.EventType 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<HCatEventMessage.EventType>
Copyright © 2012 The Apache Software Foundation