Uses of Interface org.apache.hadoop.io.RawComparator (Hadoop 1.2.1 API)
Date: 2013-07-22

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use RawComparator
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.io.serializer | This package provides a mechanism for using different serialization frameworks in Hadoop.
org.apache.hadoop.mapred | A software framework for easily writing applications which process vast amounts of data (multi-terabyte data-sets) parallelly on large clusters (thousands of nodes) built of commodity hardware in a reliable, fault-tolerant manner.
org.apache.hadoop.mapred.lib | Library of generally useful mappers, reducers, and partitioners.
org.apache.hadoop.mapreduce |
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 RawComparator in org.apache.hadoop.examples

Classes in org.apache.hadoop.examples that implement RawComparator
`static class` | `SecondarySort.FirstGroupingComparator` Compare only the first part of the pair, so that reduce is called once for each value of the first part.
`static class` | `SecondarySort.IntPair.Comparator` A Comparator that compares serialized IntPair.

Uses of RawComparator in org.apache.hadoop.io

Classes in org.apache.hadoop.io that implement RawComparator
`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.
`class` | `WritableComparator` A Comparator for `WritableComparable`s.

Constructors in org.apache.hadoop.io with parameters of type RawComparator
`SequenceFile.Sorter(FileSystem fs, RawComparator comparator, Class keyClass, Class valClass, Configuration conf)` 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
`class` | `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.

Uses of RawComparator in org.apache.hadoop.mapred

Methods in org.apache.hadoop.mapred that return RawComparator
`RawComparator` | `JobConf.getOutputKeyComparator()` Get the `RawComparator` comparator used to compare keys.
`RawComparator` | `JobConf.getOutputValueGroupingComparator()` Get the user defined `WritableComparable` comparator for grouping keys of inputs to the reduce.

Methods in org.apache.hadoop.mapred with parameters of type RawComparator
`protected static
`<INKEY,INVALUE,OUTKEY,OUTVALUE> Reducer.Context`
` | `Task.createReduceContext(Reducer<INKEY,INVALUE,OUTKEY,OUTVALUE> reducer, Configuration job, TaskAttemptID taskId, RawKeyValueIterator rIter, Counter inputKeyCounter, Counter inputValueCounter, RecordWriter<OUTKEY,OUTVALUE> output, OutputCommitter committer, StatusReporter reporter, RawComparator<INKEY> comparator, Class<INKEY> keyClass, Class<INVALUE> valueClass)`

Method parameters in org.apache.hadoop.mapred with type arguments of type RawComparator
`void` | `JobConf.setOutputKeyComparatorClass(Class<? extends RawComparator> theClass)` Set the `RawComparator` comparator used to compare keys.
`void` | `JobConf.setOutputValueGroupingComparator(Class<? extends RawComparator> theClass)` Set the user defined `RawComparator` comparator for grouping keys in the input to the reduce.

Constructors in org.apache.hadoop.mapred with parameters of type RawComparator
`Task.CombineValuesIterator(RawKeyValueIterator in, RawComparator<KEY> comparator, Class<KEY> keyClass, Class<VALUE> valClass, Configuration conf, Reporter reporter, Counters.Counter combineInputCounter)`

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

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

Uses of RawComparator in org.apache.hadoop.mapreduce

Methods in org.apache.hadoop.mapreduce that return RawComparator
`RawComparator<?>` | `JobContext.getGroupingComparator()` Get the user defined `RawComparator` comparator for grouping keys of inputs to the reduce.
`RawComparator<?>` | `JobContext.getSortComparator()` Get the `RawComparator` comparator used to compare keys.

Method parameters in org.apache.hadoop.mapreduce with type arguments of type RawComparator
`void` | `Job.setGroupingComparatorClass(Class<? extends RawComparator> cls)` Define the comparator that controls which keys are grouped together for a single call to `Reducer.reduce(Object, Iterable, org.apache.hadoop.mapreduce.Reducer.Context)`
`void` | `Job.setSortComparatorClass(Class<? extends RawComparator> cls)` Define the comparator that controls how the keys are sorted before they are passed to the `Reducer`.

Constructors in org.apache.hadoop.mapreduce with parameters of type RawComparator
`ReduceContext(Configuration conf, TaskAttemptID taskid, RawKeyValueIterator input, Counter inputKeyCounter, Counter inputValueCounter, RecordWriter<KEYOUT,VALUEOUT> output, OutputCommitter committer, StatusReporter reporter, RawComparator<KEYIN> comparator, Class<KEYIN> keyClass, Class<VALUEIN> valueClass)`
`Reducer.Context(Configuration conf, TaskAttemptID taskid, RawKeyValueIterator input, Counter inputKeyCounter, Counter inputValueCounter, RecordWriter<KEYOUT,VALUEOUT> output, OutputCommitter committer, StatusReporter reporter, RawComparator<KEYIN> comparator, Class<KEYIN> keyClass, Class<VALUEIN> valueClass)`

Uses of RawComparator in org.apache.hadoop.record

Classes in org.apache.hadoop.record that implement RawComparator
`class` | `RecordComparator` A raw record comparator base class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2009 The Apache Software Foundation