org.apache.hadoop.hive.metastore.events
Class ListenerEvent

java.lang.Object
  extended by 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.


Constructor Summary
ListenerEvent(boolean status, HiveMetaStore.HMSHandler handler)
           
 
Method Summary
 HiveMetaStore.HMSHandler getHandler()
           
 boolean getStatus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerEvent

public ListenerEvent(boolean status,
                     HiveMetaStore.HMSHandler handler)
Method Detail

getHandler

public HiveMetaStore.HMSHandler getHandler()
Returns:
the handler

getStatus

public boolean getStatus()
Returns:
the status of event.


Copyright © 2011 The Apache Software Foundation