public class IPythonInterpreterManager extends InterpreterManager
Modifier and Type | Method and Description |
---|---|
void |
close() |
Integer |
getSessionId()
Gets session id.
|
protected String |
invokeInterpreter(String code,
String task,
hudson.FilePath workspace)
Invoke interpreter to execute code.
|
invokeInterpreter
protected String invokeInterpreter(String code, String task, hudson.FilePath workspace) throws org.apache.zeppelin.interpreter.InterpreterException, IOException, InterruptedException
code
- the codetask
- the taskworkspace
- the workspaceorg.apache.zeppelin.interpreter.InterpreterException
- the interpreter exceptionIOException
- the io exceptionInterruptedException
- the interrupted exceptionpublic Integer getSessionId()
public void close()
Copyright © 2016–2020. All rights reserved.