public class JoinGroupGroupComparator
extends WritableComparator
WritableComparator
implementation that compare instances of JoinGroupKeyComparator
only by their partition ids so records from different data sets but mapped to the same partition can be assigned to the same reduce group.Modifier and Type | Method and Description |
---|---|
int |
compare(WritableComparable a, WritableComparable b) |
Copyright © 2017, 2019 Oracle and/or its affiliates. All Rights Reserved.