public class BoundScript
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
describe(java.lang.String alias)
Describe the schema of an alias in this pipeline.
|
void |
explain()
Explain this pipeline.
|
void |
illustrate()
Run illustrate for this pipeline.
|
java.util.List<PigStats> |
run()
Run multiple instances of bound pipeline on Hadoop in parallel.
|
java.util.List<PigStats> |
run(java.util.Properties prop)
Run multiple instances of bound pipeline on Hadoop in parallel.
|
java.util.List<PigStats> |
run(java.lang.String propfile)
Run multiple instances of bound pipeline on Hadoop in parallel.
|
PigStats |
runSingle()
Run a pipeline on Hadoop.
|
PigStats |
runSingle(java.util.Properties prop)
Run a pipeline on Hadoop.
|
PigStats |
runSingle(java.lang.String propfile)
Run a pipeline on Hadoop.
|
public PigStats runSingle() throws java.io.IOException
PigStats
, null if there is no bound query to run.java.io.IOException
public PigStats runSingle(java.util.Properties prop) throws java.io.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.java.io.IOException
public PigStats runSingle(java.lang.String propfile) throws java.io.IOException
propfile
- File with properties that Pig should set when running the script.PigStats
, null if there is no bound query to run.java.io.IOException
public java.util.List<PigStats> run() throws java.io.IOException
PigStats
, one for each map of variables passed
to bind.java.io.IOException
public java.util.List<PigStats> run(java.util.Properties prop) throws java.io.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.java.io.IOException
public java.util.List<PigStats> run(java.lang.String propfile) throws java.io.IOException
propfile
- File with properties that Pig should set when running the script.java.io.IOException
public void illustrate() throws java.io.IOException
java.io.IOException
- if illustrate fails.public void explain() throws java.io.IOException
java.io.IOException
- if explain fails.public void describe(java.lang.String alias) throws java.io.IOException
alias
- to be describedjava.io.IOException
- if describe fails.Copyright © 2007-2012 The Apache Software Foundation