|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.pig.PigScript
public class PigScript
Holder class for a pig script.
Constructor Summary | |
---|---|
PigScript(Resource resource)
Constructs a new PigScript instance from the given
resource. |
|
PigScript(Resource resource,
Map<?,?> args)
Constructs a new PigScript instance. |
|
PigScript(Resource resource,
Properties args)
Constructs a new PigScript instance. |
Method Summary | |
---|---|
Map<String,String> |
getArguments()
Returns the arguments associated with this script. |
Resource |
getResource()
Returns the script resource. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.public PigScript(Resource resource, Map<?,?> args)
PigScript
instance.
resource
- args
- Method Detail |
---|
public Resource getResource()
public Map<String,String> getArguments()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |