public class PigScript extends Object
| Constructor and Description | 
|---|
| PigScript(Resource resource)Constructs a new  PigScriptinstance from the given
 resource. | 
| PigScript(Resource resource,
         Map<?,?> args)Constructs a new  PigScriptinstance. | 
| PigScript(Resource resource,
         Properties args)Constructs a new  PigScriptinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,String> | getArguments()Returns the arguments associated with this script. | 
| Resource | getResource()Returns the script resource. | 
| String | toString() | 
public PigScript(Resource resource)
PigScript instance from the given
 resource.resource - script resource.public PigScript(Resource resource, Properties args)
PigScript instance. Both the script
 content and its parameters are supplied.resource - script content.args - script arguments.