org.apache.pig.backend.hadoop.executionengine.physicalLayer.util
Class MonitoredUDFExecutor.ErrorCallback

java.lang.Object
  extended by org.apache.pig.backend.hadoop.executionengine.physicalLayer.util.MonitoredUDFExecutor.ErrorCallback
Enclosing class:
MonitoredUDFExecutor

public static class MonitoredUDFExecutor.ErrorCallback
extends Object

UDF authors can optionally extend this class and provide the class of their custom callbacks in the annotation to perform their own handling of errors and timeouts.


Constructor Summary
MonitoredUDFExecutor.ErrorCallback()
           
 
Method Summary
static void handleError(EvalFunc evalFunc, Exception e)
           
static void handleTimeout(EvalFunc evalFunc, Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitoredUDFExecutor.ErrorCallback

public MonitoredUDFExecutor.ErrorCallback()
Method Detail

handleError

public static void handleError(EvalFunc evalFunc,
                               Exception e)

handleTimeout

public static void handleTimeout(EvalFunc evalFunc,
                                 Exception e)


Copyright © 2007-2012 The Apache Software Foundation