org.apache.hadoop.hive.metastore
Class MetaStorePreEventListener

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.MetaStorePreEventListener
Direct Known Subclasses:
AlternateFailurePreListener, AuthorizationPreEventListener, DummyPreListener, MetaDataExportListener

public abstract class MetaStorePreEventListener
extends Object

This abstract class needs to be extended to provide implementation of actions that needs to be performed before a particular event occurs on a metastore. These methods are called before an event occurs on metastore.


Constructor Summary
MetaStorePreEventListener(Configuration config)
           
 
Method Summary
 Configuration getConf()
           
abstract  void onEvent(PreEventContext context)
           
 void setConf(Configuration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaStorePreEventListener

public MetaStorePreEventListener(Configuration config)
Method Detail

onEvent

public abstract void onEvent(PreEventContext context)
                      throws MetaException,
                             NoSuchObjectException,
                             InvalidOperationException
Throws:
MetaException
NoSuchObjectException
InvalidOperationException

getConf

public Configuration getConf()

setConf

public void setConf(Configuration config)


Copyright © 2012 The Apache Software Foundation