一、实现Flink提供的接口 // 自定义函数 class MyMapFunction implements MapFunction<String, Integer>{ public Integer map(String value){ return Integer.parseInt(value