public class HiveScript
extends java.lang.Object
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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() |
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.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