public class SecondarySort extends Object
Modifier and Type | Class and Description |
---|---|
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.
|
Constructor and Description |
---|
SecondarySort() |
Copyright © 2013 Apache Software Foundation. All rights reserved.