public enum EventType extends Enum<EventType>
| Enum Constant and Description |
|---|
ADD_PARTITION |
ALTER_PARTITION |
ALTER_TABLE |
CREATE_TABLE |
DROP_PARTITION |
DROP_TABLE |
INSERT |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends ListenerEvent> |
eventClass() |
static EventType |
forClass(Class<? extends ListenerEvent> clazz) |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType ADD_PARTITION
public static final EventType ALTER_PARTITION
public static final EventType DROP_PARTITION
public static final EventType CREATE_TABLE
public static final EventType INSERT
public static final EventType DROP_TABLE
public static final EventType ALTER_TABLE
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 Class<? extends ListenerEvent> eventClass()
public static EventType forClass(Class<? extends ListenerEvent> clazz)
Copyright © 2018–2020 Expedia Group. All rights reserved.