use of org.apache.flink.api.java.io.PrintingOutputFormat in project flink by apache.
the class PythonPlanBinder method createPrintSink.
@SuppressWarnings("unchecked")
private void createPrintSink(PythonOperationInfo info) throws IOException {
DataSet parent = (DataSet) sets.get(info.parentID);
parent.map(new StringDeserializerMap()).setParallelism(getParallelism(info)).name("PrintSinkPreStep").output(new PrintingOutputFormat(info.toError)).setParallelism(getParallelism(info));
}
Aggregations