Interface IPythonSideEngine
public interface IPythonSideEngine
Main entry point for Py4J on Python side.
-
Method Summary
Modifier and TypeMethodDescriptionexecuteInteractive
(String codeText) Execute a block of code on the target as an interactive line.executeScript
(String codeText, String filename) Execute a block of code on the target as a script.internalGetVariable
(String name) boolean
internalHasVariable
(String name) void
internalSetVariable
(String name, Object content) void
Tear down the Python side of the engine
-
Method Details
-
executeScript
Execute a block of code on the target as a script.- Throws:
Throwable
-
executeInteractive
Execute a block of code on the target as an interactive line.- Throws:
Throwable
-
internalGetVariable
- See Also:
-
AbstractScriptEngine.internalGetVariable(String)
-
internalGetVariables
- See Also:
-
AbstractScriptEngine.internalGetVariables()
-
internalHasVariable
- See Also:
-
AbstractScriptEngine.internalHasVariable(String)
-
internalSetVariable
- See Also:
-
AbstractScriptEngine.internalSetVariable(String, Object)
-
teardownEngine
void teardownEngine()Tear down the Python side of the engine
-