org.apache.hadoop.hive.metastore
Class DummyPreListener
java.lang.Object
org.apache.hadoop.hive.metastore.MetaStorePreEventListener
org.apache.hadoop.hive.metastore.DummyPreListener
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable
public class DummyPreListener
- extends MetaStorePreEventListener
DummyPreListener.
An implemenation of MetaStorePreEventListener which stores the Events it's seen in a list.
Constructor Summary |
DummyPreListener(org.apache.hadoop.conf.Configuration config)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notifyList
public static final List<PreEventContext> notifyList
DummyPreListener
public DummyPreListener(org.apache.hadoop.conf.Configuration config)
onEvent
public void onEvent(PreEventContext context)
throws MetaException,
NoSuchObjectException,
InvalidOperationException
- Specified by:
onEvent
in class MetaStorePreEventListener
- Throws:
MetaException
NoSuchObjectException
InvalidOperationException
Copyright © 2011 The Apache Software Foundation