public class BoundScript extends Object
| Modifier and Type | Method and Description |
|---|---|
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.
|
public PigStats runSingle() throws IOException
PigStats, null if there is no bound query to run.IOExceptionpublic 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.IOExceptionpublic 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.IOExceptionpublic List<PigStats> run() throws IOException
PigStats, one for each map of variables passed
to bind.IOExceptionpublic 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.IOExceptionpublic List<PigStats> run(String propfile) throws IOException
propfile - File with properties that Pig should set when running the script.IOExceptionpublic 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 describedIOException - if describe fails.Copyright © 2007-2017 The Apache Software Foundation