org.apache.hadoop.hive.metastore
Class MetaStoreEndFunctionListener
java.lang.Object
org.apache.hadoop.hive.metastore.MetaStoreEndFunctionListener
- Direct Known Subclasses:
- DummyEndFunctionListener
public abstract class MetaStoreEndFunctionListener
- extends Object
This abstract class needs to be extended to provide implementation of actions that need
to be performed when a function ends. These methods are called whenever a function ends.
It also provides a way to add fb303 counters through the exportCounters method.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaStoreEndFunctionListener
public MetaStoreEndFunctionListener(Configuration config)
onEndFunction
public abstract void onEndFunction(String functionName,
MetaStoreEndFunctionContext context)
exportCounters
public void exportCounters(AbstractMap<String,Long> counters)
getConf
public Configuration getConf()
setConf
public void setConf(Configuration config)
Copyright © 2012 The Apache Software Foundation