public class SecondarySort
extends java.lang.Object
| Modifier and Type | Class | 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 | Description |
|---|---|
SecondarySort() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.