reducer
reducer 英 [rɪ'djuːsə] 美 [rɪ'dusər]
n. [助剂] 还原剂;减径管
名词复数:reducers
- 请先登录
- n. [助剂] 还原剂;减径管
-
1. This time you are extending the org.apache.hadoop.mapreduce.reducer class and implementing its reduce method.
这一次,您将扩展 org.apache.hadoop.mapreduce.Reducer 类并实现其 reduce 方法。
-
2. In reality, we would probably express this more compactly using a method reference to the size() method for our mapper and a predefined reducer for integer summation
在现实情况中,我们的表达方式可能会更紧凑一些,我们的mapper会使用一个size()方法的方法引用,以及整数的求和会用到一个预先定义的reducer
-
3. Here, the first lambda expression is the mapper (mapping each element to its size), and the second lambda expression is the reducer, which takes two sizes and adds them.
这里的第一个lambda表达是是一个mapper(映射器)(把每个元素和它的大小做映射),第二个lambda表达是是一个reducer(化简器),其取得两个大小数值并相加它们。
- 请先登录
0 个回复