Interface IPythonSideEngine
public interface IPythonSideEngine
Main entry point for Py4J on Python side.
-
Method Summary
Modifier and Type Method Description IInteractiveReturn
executeInteractive(String codeText)
Execute a block of code on the target as an interactive line.IInteractiveReturn
executeScript(String codeText, String filename)
Execute a block of code on the target as a script.Object
internalGetVariable(String name)
Map<String,Object>
internalGetVariables()
boolean
internalHasVariable(String name)
void
internalSetVariable(String name, Object content)
void
teardownEngine()
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
-