public class SecondarySort extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
SecondarySort.FirstGroupingComparator
Compare only the first part of the pair, so that reduce is called once
for each value of the first part.
|
static class |
SecondarySort.FirstPartitioner
Partition based on the first part of the pair.
|
static class |
SecondarySort.IntPair
Define a pair of integers that are writable.
|
static class |
SecondarySort.MapClass
Read two integers from each line and generate a key, value pair
as ((left, right), right).
|
static class |
SecondarySort.Reduce
A reducer class that just emits the sum of the input values.
|
构造器和说明 |
---|
SecondarySort() |
Copyright © 2009 The Apache Software Foundation