Applies a FlatMap transformation on a DataStream. The transformation calls a FlatMapFunction
for each element of the DataStream. Each FlatMapFunction call can return any number of
elements including none.
func – The FlatMapFunction that is called for each element of the DataStream.
output_type – The type information of output data.