| Constructor and Description |
|---|
PythonExecutor() |
PythonExecutor(Set<String> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
void |
allocate() |
void |
close() |
protected Serializable |
eval(String prepareEnvironmentScript,
String script) |
PythonEvaluationResult |
eval(String prepareEnvironmentScript,
String expr,
Map<String,Serializable> context) |
PythonExecutionResult |
exec(String script,
Map<String,Serializable> callArguments) |
protected org.python.util.PythonInterpreter |
initInterpreter(Set<String> dependencies) |
boolean |
isClosed() |
void |
release() |
protected org.python.util.PythonInterpreter initInterpreter(Set<String> dependencies)
public PythonExecutionResult exec(String script, Map<String,Serializable> callArguments)
public PythonEvaluationResult eval(String prepareEnvironmentScript, String expr, Map<String,Serializable> context)
protected Serializable eval(String prepareEnvironmentScript, String script)
public boolean isClosed()
Copyright © 2016. All Rights Reserved.