use of org.apache.zeppelin.interpreter.thrift.RemoteInterpreterResultMessage in project zeppelin by apache.
the class RemoteInterpreterEventServer method updateAllOutput.
@Override
public void updateAllOutput(OutputUpdateAllEvent event) throws InterpreterRPCException, TException {
listener.onOutputClear(event.getNoteId(), event.getParagraphId());
for (int i = 0; i < event.getMsg().size(); i++) {
RemoteInterpreterResultMessage msg = event.getMsg().get(i);
listener.onOutputUpdated(event.getNoteId(), event.getParagraphId(), i, InterpreterResult.Type.valueOf(msg.getType()), msg.getData());
}
}
Aggregations