public class IPythonKernelInterpreter extends Object implements KernelInterpreter
| Constructor and Description |
|---|
IPythonKernelInterpreter(IPythonUserConfig userConfig) |
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.zeppelin.interpreter.InterpreterResultMessage> |
interpretCode(String code)
IPython will be connected and interpreted through the object of this class.
|
void |
setInterpreter(org.apache.zeppelin.interpreter.LazyOpenInterpreter interpreter) |
void |
shutdown() |
void |
start() |
String |
toString() |
public IPythonKernelInterpreter(IPythonUserConfig userConfig)
userConfig - - user's configuration including server address etc.public List<org.apache.zeppelin.interpreter.InterpreterResultMessage> interpretCode(String code) throws IOException, org.apache.zeppelin.interpreter.InterpreterException
interpretCode in interface KernelInterpretercode - - python code to be executedIOExceptionorg.apache.zeppelin.interpreter.InterpreterExceptionpublic void start()
throws org.apache.zeppelin.interpreter.InterpreterException
start in interface KernelInterpreterorg.apache.zeppelin.interpreter.InterpreterExceptionpublic void shutdown()
throws org.apache.zeppelin.interpreter.InterpreterException
shutdown in interface KernelInterpreterorg.apache.zeppelin.interpreter.InterpreterExceptionpublic void setInterpreter(org.apache.zeppelin.interpreter.LazyOpenInterpreter interpreter)
Copyright © 2016–2020. All rights reserved.