public class PigRunner extends PigExecutor implements Callable<List<ExecJob>>
 To make the runner execute at startup, use setRunAtStartup(boolean).
| Constructor and Description | 
|---|
| PigRunner() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| List<ExecJob> | call() | 
| void | setPostAction(Collection<Callable<?>> actions)Actions to be invoked after running the action. | 
| void | setPreAction(Collection<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 Exception
afterPropertiesSet in interface InitializingBeanafterPropertiesSet in class PigExecutorExceptionpublic void setRunAtStartup(boolean runAtStartup)
runAtStartup - The runAtStartup to set.public void setPreAction(Collection<Callable<?>> actions)
actions - actionspublic void setPostAction(Collection<Callable<?>> actions)
actions - actions