This project has retired. For details please refer to its
Attic page.
ReverseWritableComparator (Apache Crunch 0.7.0 API)
org.apache.crunch.lib.sort
Class ReverseWritableComparator<T>
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.crunch.lib.sort.ReverseWritableComparator<T>
- All Implemented Interfaces:
- Comparator<T>, org.apache.hadoop.conf.Configurable, org.apache.hadoop.io.RawComparator<T>
public class ReverseWritableComparator<T>
- extends org.apache.hadoop.conf.Configured
- implements org.apache.hadoop.io.RawComparator<T>
Method Summary |
int |
compare(byte[] arg0,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5)
|
int |
compare(T o1,
T o2)
|
void |
setConf(org.apache.hadoop.conf.Configuration conf)
|
Methods inherited from class org.apache.hadoop.conf.Configured |
getConf |
ReverseWritableComparator
public ReverseWritableComparator()
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConf
in interface org.apache.hadoop.conf.Configurable
- Overrides:
setConf
in class org.apache.hadoop.conf.Configured
compare
public int compare(byte[] arg0,
int arg1,
int arg2,
byte[] arg3,
int arg4,
int arg5)
- Specified by:
compare
in interface org.apache.hadoop.io.RawComparator<T>
compare
public int compare(T o1,
T o2)
- Specified by:
compare
in interface Comparator<T>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.