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(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(Configuration config)
public Object getRecord() throws IOException
IOException
public Object getRecord(boolean normalize) throws IOException
IOException
public void sendRecord(Object record) throws IOException
IOException
public void open(String tmpPath, String args) throws IOException
IOException
public boolean preparePlanMode() throws IOException
IOException
public void finishPlanMode()
public void close()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.