public abstract class PigExecutor
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| Constructor and Description | 
|---|
| PigExecutor() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| protected java.util.List<org.apache.pig.backend.executionengine.ExecJob> | executePigScripts() | 
| void | setPigFactory(PigServerFactory pigFactory)Sets the pig server instance used by this class. | 
| void | setPigTemplate(PigOperations pigTemplate)Sets the pig template used by this class. | 
| void | setScripts(java.util.Collection<PigScript> scripts)Sets the pig scripts to be executed by this class. | 
public void afterPropertiesSet()
                        throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionprotected java.util.List<org.apache.pig.backend.executionengine.ExecJob> executePigScripts()
public void setScripts(java.util.Collection<PigScript> scripts)
scripts - The scripts to set.public void setPigFactory(PigServerFactory pigFactory)
pigFactory - The pigFactory to set.public void setPigTemplate(PigOperations pigTemplate)
pigTemplate - the pigTemplate