Package org.apache.flink.table.sinks
Class CsvTableSink.CsvFormatter
- java.lang.Object
-
- org.apache.flink.table.sinks.CsvTableSink.CsvFormatter
-
- All Implemented Interfaces:
Serializable
,Function
,MapFunction<Row,String>
- Enclosing class:
- CsvTableSink
@Internal public static class CsvTableSink.CsvFormatter extends Object implements MapFunction<Row,String>
Formats a Row into a String with fields separated by the field delimiter.- See Also:
- Serialized Form
-
-
Method Detail
-
map
public String map(Row row)
Description copied from interface:MapFunction
The mapping method. Takes an element from the input data set and transforms it into exactly one element.- Specified by:
map
in interfaceMapFunction<Row,String>
- Parameters:
row
- The input value.- Returns:
- The transformed value
-
-