org.apache.hadoop.hive.metastore
Class MetaStorePreEventListener
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaStorePreEventListener
public MetaStorePreEventListener(Configuration config)
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