|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.data.hadoop.pig.PigScript
public class PigScript
Holder class for a pig script.
| Constructor Summary | |
|---|---|
PigScript(org.springframework.core.io.Resource resource)
Constructs a new PigScript instance from the given
resource. |
|
PigScript(org.springframework.core.io.Resource resource,
java.util.Map<?,?> args)
Constructs a new PigScript instance. |
|
PigScript(org.springframework.core.io.Resource resource,
java.util.Properties args)
Constructs a new PigScript instance. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.String> |
getArguments()
Returns the arguments associated with this script. |
org.springframework.core.io.Resource |
getResource()
Returns the script resource. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PigScript(org.springframework.core.io.Resource resource)
PigScript instance from the given
resource.
resource - script resource.
public PigScript(org.springframework.core.io.Resource resource,
java.util.Properties args)
PigScript instance. Both the script
content and its parameters are supplied.
resource - script content.args - script arguments.
public PigScript(org.springframework.core.io.Resource resource,
java.util.Map<?,?> args)
PigScript instance.
resource - args - | Method Detail |
|---|
public org.springframework.core.io.Resource getResource()
public java.util.Map<java.lang.String,java.lang.String> getArguments()
public java.lang.String toString()
toString in class java.lang.Object
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||