|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pig.scripting.BoundScript
public class BoundScript
This represents an instance of a bound pipeline.
| Method Summary | |
|---|---|
void |
describe(String alias)
Describe the schema of an alias in this pipeline. |
void |
explain()
Explain this pipeline. |
void |
illustrate()
Run illustrate for this pipeline. |
List<PigStats> |
run()
Run multiple instances of bound pipeline on Hadoop in parallel. |
List<PigStats> |
run(Properties prop)
Run multiple instances of bound pipeline on Hadoop in parallel. |
List<PigStats> |
run(String propfile)
Run multiple instances of bound pipeline on Hadoop in parallel. |
PigStats |
runSingle()
Run a pipeline on Hadoop. |
PigStats |
runSingle(Properties prop)
Run a pipeline on Hadoop. |
PigStats |
runSingle(String propfile)
Run a pipeline on Hadoop. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public PigStats runSingle()
throws IOException
PigStats, null if there is no bound query to run.
IOException
public PigStats runSingle(Properties prop)
throws IOException
prop - Map of properties that Pig should set when running the script.
This is intended for use with scripting languages that do not support
the Properties object.
PigStats, null if there is no bound query to run.
IOException
public PigStats runSingle(String propfile)
throws IOException
propfile - File with properties that Pig should set when running the script.
PigStats, null if there is no bound query to run.
IOException
public List<PigStats> run()
throws IOException
PigStats, one for each map of variables passed
to bind.
IOException
public List<PigStats> run(Properties prop)
throws IOException
prop - Map of properties that Pig should set when running the script.
This is intended for use with scripting languages that do not support
the Properties object.
PigStats, one for each map of variables passed
to bind.
IOException
public List<PigStats> run(String propfile)
throws IOException
propfile - File with properties that Pig should set when running the script.
IOException
public void illustrate()
throws IOException
IOException - if illustrate fails.
public void explain()
throws IOException
IOException - if explain fails.
public void describe(String alias)
throws IOException
alias - to be described
IOException - if describe fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||