public class PigDoubleRawComparator
extends org.apache.hadoop.io.WritableComparator
implements org.apache.hadoop.conf.Configurable
| Constructor and Description | 
|---|
| PigDoubleRawComparator() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(byte[] b1,
       int s1,
       int l1,
       byte[] b2,
       int s2,
       int l2)Compare two NullableIntWritables as raw bytes. | 
| int | compare(java.lang.Object o1,
       java.lang.Object o2) | 
| org.apache.hadoop.conf.Configuration | getConf() | 
| void | setConf(org.apache.hadoop.conf.Configuration conf) | 
compare, compareBytes, define, get, get, getKeyClass, hashBytes, hashBytes, newKey, readDouble, readFloat, readInt, readLong, readUnsignedShort, readVInt, readVLongpublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.ConfigurablesetConf in class org.apache.hadoop.io.WritableComparatorpublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.ConfigurablegetConf in class org.apache.hadoop.io.WritableComparatorpublic int compare(byte[] b1,
                   int s1,
                   int l1,
                   byte[] b2,
                   int s2,
                   int l2)
compare in interface org.apache.hadoop.io.RawComparatorcompare in class org.apache.hadoop.io.WritableComparatorpublic int compare(java.lang.Object o1,
                   java.lang.Object o2)
compare in interface java.util.Comparatorcompare in class org.apache.hadoop.io.WritableComparatorCopyright © 2007-2025 The Apache Software Foundation