|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.hadoop.hive.HiveScript
public class HiveScript
Holder class for a Hive script.
Constructor Summary | |
---|---|
HiveScript(org.springframework.core.io.Resource resource)
Constructs a new HiveScript instance from the given
resource. |
|
HiveScript(org.springframework.core.io.Resource resource,
java.util.Map<?,?> args)
|
|
HiveScript(org.springframework.core.io.Resource resource,
java.util.Properties args)
Constructs a new HiveScript 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 HiveScript(org.springframework.core.io.Resource resource)
HiveScript
instance from the given
resource.
resource
- script resource.public HiveScript(org.springframework.core.io.Resource resource, java.util.Map<?,?> args)
public HiveScript(org.springframework.core.io.Resource resource, java.util.Properties args)
HiveScript
instance. Both the script
content and its parameters are supplied.
resource
- script content.args
- script arguments.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 |