Home »
MCQs »
Apache Flink MCQs
Which of the following method is used to convert one data stream into another by applying a function to each stream element?
20. Which of the following method is used to convert one data stream into another by applying a function to each stream element?
- Stream()
- Transform()
- Filter()
- Map()
Answer: D) Map()
Explanation:
The map() method is used to convert one data stream into another by applying a function to each stream element.