Deron Eriksson created SYSTEMML-1165:
----------------------------------------
Summary: Create initial setup method for ScriptExecutor execution
Key: SYSTEMML-1165
URL: https://issues.apache.org/jira/browse/SYSTEMML-1165
Project: SystemML
Issue Type: Improvement
Components: APIs
Reporter: Deron Eriksson
Assignee: Deron Eriksson
Priority: Minor
Currently ScriptExecutor's execute() method performs several initialization
actions:
{code}
this.script = script;
checkScriptHasTypeAndString();
script.setScriptExecutor(this);
setScriptStringInSparkMonitor();
DMLScript.SCRIPT_TYPE = script.getScriptType();
{code}
These should be moved into a separate method, and this method called from
execute(). This makes it easier to subclass ScriptExecutor to specify a custom
execution.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)