Home »
MCQs »
Apache Flink MCQs
Which of the following method is used to aggregate data in a stream by merging several components based on a supplied function into a single element?
23. Which of the following method is used to aggregate data in a stream by merging several components based on a supplied function into a single element?
- Minimise()
- Lower()
- Dec()
- Reduce()
Answer: D) Reduce()
Explanation:
The reduce() method is used to aggregate data in a stream by merging several components based on a supplied function into a single element.