public class PigRunner extends PigExecutor implements java.util.concurrent.Callable<java.util.List<org.apache.pig.backend.executionengine.ExecJob>>
 To make the runner execute at startup, use setRunAtStartup(boolean).
| Constructor and Description | 
|---|
| PigRunner() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| java.util.List<org.apache.pig.backend.executionengine.ExecJob> | call() | 
| void | setPostAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)Actions to be invoked after running the action. | 
| void | setPreAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)Actions to be invoked before running the action. | 
| void | setRunAtStartup(boolean runAtStartup)Indicates whether the scripts should run at container startup or not (the default). | 
executePigScripts, setPigFactory, setPigTemplate, setScriptspublic void afterPropertiesSet()
                        throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class PigExecutorjava.lang.Exceptionpublic java.util.List<org.apache.pig.backend.executionengine.ExecJob> call()
                                                                    throws java.lang.Exception
call in interface java.util.concurrent.Callable<java.util.List<org.apache.pig.backend.executionengine.ExecJob>>java.lang.Exceptionpublic void setRunAtStartup(boolean runAtStartup)
runAtStartup - The runAtStartup to set.public void setPreAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)
actions - actionspublic void setPostAction(java.util.Collection<java.util.concurrent.Callable<?>> actions)
actions - actions