org.apache.hadoop.hive.metastore.events
Class ListenerEvent
java.lang.Object
org.apache.hadoop.hive.metastore.events.ListenerEvent
- Direct Known Subclasses:
- AddPartitionEvent, AlterPartitionEvent, AlterTableEvent, CreateDatabaseEvent, CreateTableEvent, DropDatabaseEvent, DropPartitionEvent, DropTableEvent, LoadPartitionDoneEvent
public abstract class ListenerEvent
- extends Object
Base class for all the events which are defined for metastore.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListenerEvent
public ListenerEvent(boolean status,
HiveMetaStore.HMSHandler handler)
getHandler
public HiveMetaStore.HMSHandler getHandler()
- Returns:
- the handler
getStatus
public boolean getStatus()
- Returns:
- the status of event.
Copyright © 2011 The Apache Software Foundation