public class HiveScript extends Object
| Constructor and Description |
|---|
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. |
| 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 HiveScript(Resource resource)
HiveScript instance from the given
resource.resource - script resource.public HiveScript(Resource resource, Properties args)
HiveScript instance. Both the script
content and its parameters are supplied.resource - script content.args - script arguments.