org.apache.hadoop.hive.metastore
Class DummyPreListener

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.MetaStorePreEventListener
      extended by org.apache.hadoop.hive.metastore.DummyPreListener

public class DummyPreListener
extends MetaStorePreEventListener

DummyPreListener. An implemenation of MetaStorePreEventListener which stores the Events it's seen in a list.


Field Summary
static List<PreEventContext> notifyList
           
 
Constructor Summary
DummyPreListener(Configuration config)
           
 
Method Summary
 void onEvent(PreEventContext context)
           
 
Methods inherited from class org.apache.hadoop.hive.metastore.MetaStorePreEventListener
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notifyList

public static final List<PreEventContext> notifyList
Constructor Detail

DummyPreListener

public DummyPreListener(Configuration config)
Method Detail

onEvent

public void onEvent(PreEventContext context)
             throws MetaException,
                    NoSuchObjectException,
                    InvalidOperationException
Specified by:
onEvent in class MetaStorePreEventListener
Throws:
MetaException
NoSuchObjectException
InvalidOperationException


Copyright © 2012 The Apache Software Foundation