## Uses of Class
org.apache.hadoop.io.WritableComparator

Packages that use WritableComparator
org.apache.hadoop.examples: Hadoop example code.
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.mapred.join: Given a set of sorted datasets keyed with the same class and yielding equal partitions, it is possible to effect a join of those datasets prior to the map.
org.apache.hadoop.mapred.lib: Library of generally useful mappers, reducers, and partitioners.
org.apache.hadoop.record: Hadoop record I/O contains classes and a record description language translator for simplifying serialization and deserialization of records in a language-neutral manner.

Uses of WritableComparator in org.apache.hadoop.examples

Subclasses of WritableComparator in org.apache.hadoop.examples
`static class` `SecondarySort.IntPair.Comparator` A Comparator that compares serialized IntPair.

Uses of WritableComparator in org.apache.hadoop.io

Subclasses of WritableComparator in org.apache.hadoop.io
`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` `Text.Comparator` A WritableComparator optimized for Text keys.
`static class` `UTF8.Comparator` Deprecated. A WritableComparator optimized for UTF8 keys.

Methods in org.apache.hadoop.io that return WritableComparator
`static WritableComparator` `WritableComparator.get(Class<? extends WritableComparable> c)` Get a comparator for a `WritableComparable` implementation.

Methods in org.apache.hadoop.io with parameters of type WritableComparator
`static void` `WritableComparator.define(Class c, WritableComparator comparator)` Register an optimized comparator for a `WritableComparable` implementation.
`protected void` `MapFile.Reader.open(FileSystem fs, String dirName, WritableComparator comparator, Configuration conf)`

Constructors in org.apache.hadoop.io with parameters of type WritableComparator
`BloomMapFile.Reader(FileSystem fs, String dirName, WritableComparator comparator, Configuration conf)`
`BloomMapFile.Reader(FileSystem fs, String dirName, WritableComparator comparator, Configuration conf, boolean open)`
`BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass)`
`BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress)`
`BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress)`
`BloomMapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, Progressable progress)`
`MapFile.Reader(FileSystem fs, String dirName, WritableComparator comparator, Configuration conf)` Construct a map reader for the named map using the named comparator.
`MapFile.Reader(FileSystem fs, String dirName, WritableComparator comparator, Configuration conf, boolean open)` Hook to allow subclasses to defer opening streams until further initialization is complete.
`MapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass)` Create the named map using the named key comparator.
`MapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress)` Create the named map using the named key comparator.
`MapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, CompressionCodec codec, Progressable progress)` Create the named map using the named key comparator.
`MapFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, Class valClass, SequenceFile.CompressionType compress, Progressable progress)` Create the named map using the named key comparator.
`SetFile.Reader(FileSystem fs, String dirName, WritableComparator comparator, Configuration conf)` Construct a set reader for the named set using the named comparator.
`SetFile.Writer(Configuration conf, FileSystem fs, String dirName, WritableComparator comparator, SequenceFile.CompressionType compress)` Create a set naming the element comparator and compression type.

Uses of WritableComparator in org.apache.hadoop.mapred.join

Fields in org.apache.hadoop.mapred.join with type parameters of type WritableComparator
`protected Class<? extends WritableComparator>` `Parser.Node.cmpcl`

Methods in org.apache.hadoop.mapred.join that return WritableComparator
`protected WritableComparator` `CompositeRecordReader.getComparator()` Return comparator defining the ordering for RecordReaders in this composite.

Method parameters in org.apache.hadoop.mapred.join with type arguments of type WritableComparator
`protected void` `Parser.Node.setKeyComparator(Class<? extends WritableComparator> cmpcl)`

Constructor parameters in org.apache.hadoop.mapred.join with type arguments of type WritableComparator
`CompositeRecordReader(int id, int capacity, Class<? extends WritableComparator> cmpcl)` Create a RecordReader with `capacity` children to position `id` in the parent reader.
`JoinRecordReader(int id, JobConf conf, int capacity, Class<? extends WritableComparator> cmpcl)`
`MultiFilterRecordReader(int id, JobConf conf, int capacity, Class<? extends WritableComparator> cmpcl)`

Uses of WritableComparator in org.apache.hadoop.mapred.lib

Subclasses of WritableComparator in org.apache.hadoop.mapred.lib
`class` `KeyFieldBasedComparator<K,V>` This comparator implementation provides a subset of the features provided by the Unix/GNU Sort.

Uses of WritableComparator in org.apache.hadoop.record

Subclasses of WritableComparator in org.apache.hadoop.record
`class` `RecordComparator` A raw record comparator base class

Copyright © 2009 The Apache Software Foundation