public class PythonPlanStreamer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
protected PythonPlanReceiver |
receiver |
protected PythonPlanSender |
sender |
| Constructor and Description |
|---|
PythonPlanStreamer(org.apache.flink.configuration.Configuration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finishPlanMode() |
Object |
getRecord() |
Object |
getRecord(boolean normalize) |
void |
open(String tmpPath,
String args) |
boolean |
preparePlanMode() |
void |
sendRecord(Object record) |
protected static final org.slf4j.Logger LOG
protected PythonPlanSender sender
protected PythonPlanReceiver receiver
public PythonPlanStreamer(org.apache.flink.configuration.Configuration config)
public Object getRecord() throws IOException
IOExceptionpublic Object getRecord(boolean normalize) throws IOException
IOExceptionpublic void sendRecord(Object record) throws IOException
IOExceptionpublic void open(String tmpPath, String args) throws IOException
IOExceptionpublic boolean preparePlanMode()
throws IOException
IOExceptionpublic void finishPlanMode()
public void close()
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.