public static class ExampleUtils.PrintingOutputFormatWithMessage<T> extends Object implements org.apache.flink.api.common.io.OutputFormat<T>
| Constructor and Description |
|---|
PrintingOutputFormatWithMessage()
Instantiates a printing output format that prints to standard out.
|
PrintingOutputFormatWithMessage(String msg) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(org.apache.flink.configuration.Configuration parameters) |
void |
open(int taskNumber,
int numTasks) |
String |
toString() |
void |
writeRecord(T record) |
public PrintingOutputFormatWithMessage()
public PrintingOutputFormatWithMessage(String msg)
public void open(int taskNumber,
int numTasks)
open in interface org.apache.flink.api.common.io.OutputFormat<T>public void writeRecord(T record)
writeRecord in interface org.apache.flink.api.common.io.OutputFormat<T>public void close()
close in interface org.apache.flink.api.common.io.OutputFormat<T>public void configure(org.apache.flink.configuration.Configuration parameters)
configure in interface org.apache.flink.api.common.io.OutputFormat<T>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.