Class TestRoundRobinTableInputFormat.SplitComparator
java.lang.Object
org.apache.hadoop.hbase.mapreduce.TestRoundRobinTableInputFormat.SplitComparator
- All Implemented Interfaces:
Comparator<org.apache.hadoop.mapreduce.InputSplit>
- Enclosing class:
- TestRoundRobinTableInputFormat
private static class TestRoundRobinTableInputFormat.SplitComparator
extends Object
implements Comparator<org.apache.hadoop.mapreduce.InputSplit>
Private comparator copied from private JobSubmmiter Hadoop class...
hadoop/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java
Used so we can run the sort done up in JobSubmitter here in tests.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.apache.hadoop.mapreduce.InputSplit o1, org.apache.hadoop.mapreduce.InputSplit o2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
SplitComparator
private SplitComparator()
-
-
Method Details
-
compare
public int compare(org.apache.hadoop.mapreduce.InputSplit o1, org.apache.hadoop.mapreduce.InputSplit o2) - Specified by:
compare
in interfaceComparator<org.apache.hadoop.mapreduce.InputSplit>
-