This project has retired. For details please refer to its
Attic page.
TupleWritable.Comparator (Apache Crunch 0.15.0 API)
- java.lang.Object
-
- org.apache.hadoop.io.WritableComparator
-
- org.apache.crunch.types.writable.TupleWritable.Comparator
-
-
Constructor Summary
Constructors
Constructor and Description |
Comparator() |
-
Method Summary
-
Methods inherited from class org.apache.hadoop.io.WritableComparator
compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLong
-
Methods inherited from interface java.util.Comparator
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
Constructor Detail
-
Comparator
public Comparator()
-
Method Detail
-
compare
public int compare(byte[] b1,
int s1,
int l1,
byte[] b2,
int s2,
int l2)
- Specified by:
compare
in interface org.apache.hadoop.io.RawComparator
- Overrides:
compare
in class org.apache.hadoop.io.WritableComparator
Copyright © 2017 The Apache Software Foundation. All rights reserved.