Package | Description |
---|---|
org.apache.sysml.api | |
org.apache.sysml.api.mlcontext |
Modifier and Type | Field and Description |
---|---|
static ScriptType |
DMLScript.SCRIPT_TYPE
Global variable indicating the script type (DML or PYDML).
|
ScriptType |
DMLScript.DMLOptions.scriptType |
Modifier and Type | Method and Description |
---|---|
ScriptType |
Script.getScriptType()
Obtain the script type.
|
static ScriptType |
ScriptType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScriptType[] |
ScriptType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
MLContextUtil.convertInputParametersForParser(Map<String,Object> basicInputParameterMap,
ScriptType scriptType)
Converts non-string basic input parameter values to strings to pass to
the parser.
|
void |
Script.setScriptType(ScriptType scriptType)
Set the type of script (DML or PYDML).
|
Constructor and Description |
---|
Script(ScriptType scriptType)
Script constructor, specifying the type of script (
ScriptType.DML
or ScriptType.PYDML ). |
Script(String scriptString,
ScriptType scriptType)
Script constructor, specifying the script content and the type of script
(DML or PYDML).
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.