RawComparator (Hadoop 1.2.1 API)
Date: 2013-07-22

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.hadoop.io
Interface RawComparator<T>

Type Parameters:
  `T` -

All Superinterfaces:
  Comparator<T>

All Known Implementing Classes:
  BooleanWritable.Comparator, BytesWritable.Comparator, ByteWritable.Comparator, DeserializerComparator, DoubleWritable.Comparator, FloatWritable.Comparator, IntWritable.Comparator, JavaSerializationComparator, KeyFieldBasedComparator, KeyFieldBasedComparator, LongWritable.Comparator, LongWritable.DecreasingComparator, MD5Hash.Comparator, NullWritable.Comparator, RecordComparator, SecondarySort.FirstGroupingComparator, SecondarySort.IntPair.Comparator, Text.Comparator, UTF8.Comparator, WritableComparator

    public interface RawComparator<T>

extends Comparator<T>

A `Comparator` that operates directly on byte representations of objects.

See Also:
  `DeserializerComparator`

Method Summary
`int` | `compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2)`

Methods inherited from interface java.util.Comparator
`compare, equals`

Method Detail

### compare

    int compare(byte[] b1,
                int s1,
                int l1,
                byte[] b2,
                int s2,
                int l2)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 The Apache Software Foundation