| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LENGTH |
static int |
RETRIES_NUMBER_ON_THREADED_ISSUE
There is an issue in loaded environment - existing python module not found in PySystem.modules.table
although it exists in the table.
|
static String |
THREADED_MODULES_ISSUE |
| 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() |
public static final String THREADED_MODULES_ISSUE
public static final int RETRIES_NUMBER_ON_THREADED_ISSUE
public static final int MAX_LENGTH
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 © 2019. All rights reserved.