|
|||||||||
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(Resource resource)
Constructs a new HiveScript instance from the given
resource. |
|
HiveScript(Resource resource,
Map<?,?> args)
|
|
HiveScript(Resource resource,
Properties args)
Constructs a new HiveScript 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 HiveScript(Resource resource)
HiveScript
instance from the given
resource.
resource
- script resource.public HiveScript(Resource resource, Map<?,?> args)
public HiveScript(Resource resource, Properties args)
HiveScript
instance. Both the script
content and its parameters are supplied.
resource
- script content.args
- script arguments.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 |