|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.pig.PigExecutor
public abstract class PigExecutor
Common class for configuring and executing pig scripts. Shared by the Pig tasklet and runner.
Constructor Summary | |
---|---|
PigExecutor()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PigExecutor()
Method Detail |
---|
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception
protected 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
-
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |