## Uses of Interface
org.apache.hadoop.io.RawComparator

- Packages that use RawComparator
  Package | Description
  --- | ---
  org.apache.hadoop.io | Generic i/o code for use when reading and writing data to the network, to databases, and to files.
  org.apache.hadoop.io.serializer | This package provides a mechanism for using different serialization frameworks in Hadoop.

- - ### Uses of RawComparator in org.apache.hadoop.io

    Classes in org.apache.hadoop.io that implement RawComparator
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `BooleanWritable.Comparator` A Comparator optimized for BooleanWritable.
    `static class` | `BytesWritable.Comparator` A Comparator optimized for BytesWritable.
    `static class` | `ByteWritable.Comparator` A Comparator optimized for ByteWritable.
    `static class` | `DoubleWritable.Comparator` A Comparator optimized for DoubleWritable.
    `static class` | `FloatWritable.Comparator` A Comparator optimized for FloatWritable.
    `static class` | `IntWritable.Comparator` A Comparator optimized for IntWritable.
    `static class` | `LongWritable.Comparator` A Comparator optimized for LongWritable.
    `static class` | `LongWritable.DecreasingComparator` A decreasing Comparator optimized for LongWritable.
    `static class` | `MD5Hash.Comparator` A WritableComparator optimized for MD5Hash keys.
    `static class` | `NullWritable.Comparator` A Comparator "optimized" for NullWritable.
    `static class` | `ShortWritable.Comparator` A Comparator optimized for ShortWritable.
    `static class` | `Text.Comparator` A WritableComparator optimized for Text keys.
    `static class` | `UTF8.Comparator` Deprecated. A WritableComparator optimized for UTF8 keys.
    `class` | `WritableComparator` A Comparator for `WritableComparable`s.

    Constructors in org.apache.hadoop.io with parameters of type RawComparator
    Constructor and Description
    `Sorter(FileSystem fs, RawComparator comparator, Class keyClass, Class valClass, Configuration conf)` Sort and merge using an arbitrary `RawComparator`.
    `Sorter(FileSystem fs, RawComparator comparator, Class keyClass, Class valClass, Configuration conf, SequenceFile.Metadata metadata)` Sort and merge using an arbitrary `RawComparator`.

  - ### Uses of RawComparator in org.apache.hadoop.io.serializer

    Classes in org.apache.hadoop.io.serializer that implement RawComparator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `org.apache.hadoop.io.serializer.DeserializerComparator<T>` A `RawComparator` that uses a `Deserializer` to deserialize the objects to be compared so that the standard `Comparator` can be used to compare them.
    `class` | `JavaSerializationComparator<T extends Serializable & Comparable<T>>` A `RawComparator` that uses a `JavaSerialization` `Deserializer` to deserialize objects that are then compared via their `Comparable` interfaces.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.