GeezerVison is showing apache.github.io — DMLScript (Apache SystemDS 3.4.0-SNAPSHOT API)
-
-
Constructor Summary
Constructors
| Constructor |
Description |
DMLScript() |
|
-
-
Field Detail
-
SEED
public static int SEED
-
VALIDATOR_IGNORE_ISSUES
public static boolean VALIDATOR_IGNORE_ISSUES
If true, allow DMLProgram to be generated while not halting due to validation errors/warnings
-
Constructor Detail
-
DMLScript
public DMLScript()
-
Method Detail
-
setUUID
public static void setUUID(String uuid)
Used to set master UUID on all nodes (in parfor remote, where DMLScript passed)
in order to simplify cleanup of scratch_space and local working dirs.
- Parameters:
uuid - master UUID to set on all nodes
-
readDMLScript
public static String readDMLScript(boolean isFile,
String scriptOrFilename)
throws IOException
Reads the DML/PyDML script into a String
- Parameters:
isFile - Whether the string argument is a path to a file or the script itself
scriptOrFilename - script or filename
- Returns:
- a string representation of the script
- Throws:
IOException - if error