Uses of Interface
org.apache.hadoop.io.RawComparator
Packages that use RawComparator
Package
Description
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
This package provides a mechanism for using different serialization frameworks
in Hadoop.
(DEPRECATED) 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.io
Classes in org.apache.hadoop.io that implement RawComparator -
Uses of RawComparator in org.apache.hadoop.io.serializer
Classes in org.apache.hadoop.io.serializer that implement RawComparatorModifier and TypeClassDescriptionclassorg.apache.hadoop.io.serializer.DeserializerComparator<T>ARawComparatorthat uses aDeserializerto deserialize the objects to be compared so that the standardComparatorcan be used to compare them.classJavaSerializationComparator<T extends Serializable & Comparable<T>>ARawComparatorthat uses aJavaSerializationDeserializerto deserialize objects that are then compared via theirComparableinterfaces. -
Uses of RawComparator in org.apache.hadoop.mapred
Methods in org.apache.hadoop.mapred that return RawComparatorModifier and TypeMethodDescriptionJobConf.getCombinerKeyGroupingComparator()Get the user definedWritableComparablecomparator for grouping keys of inputs to the combiner.JobConf.getOutputKeyComparator()Get theRawComparatorcomparator used to compare keys.JobConf.getOutputValueGroupingComparator()Get the user definedWritableComparablecomparator for grouping keys of inputs to the reduce.Method parameters in org.apache.hadoop.mapred with type arguments of type RawComparatorModifier and TypeMethodDescriptionvoidJobConf.setCombinerKeyGroupingComparator(Class<? extends RawComparator> theClass) Set the user definedRawComparatorcomparator for grouping keys in the input to the combiner.voidJobConf.setOutputKeyComparatorClass(Class<? extends RawComparator> theClass) Set theRawComparatorcomparator used to compare keys.voidJobConf.setOutputValueGroupingComparator(Class<? extends RawComparator> theClass) Set the user definedRawComparatorcomparator for grouping keys in the input to the reduce. -
Uses of RawComparator in org.apache.hadoop.mapred.lib
Classes in org.apache.hadoop.mapred.lib that implement RawComparatorModifier and TypeClassDescriptionclassThis 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 RawComparatorModifier and TypeMethodDescriptionJobContext.getCombinerKeyGroupingComparator()Get the user definedRawComparatorcomparator for grouping keys of inputs to the combiner.JobContext.getGroupingComparator()Get the user definedRawComparatorcomparator for grouping keys of inputs to the reduce.JobContext.getSortComparator()Get theRawComparatorcomparator used to compare keys.Method parameters in org.apache.hadoop.mapreduce with type arguments of type RawComparatorModifier and TypeMethodDescriptionvoidJob.setCombinerKeyGroupingComparatorClass(Class<? extends RawComparator> cls) Define the comparator that controls which keys are grouped together for a single call to combiner,Reducer.reduce(Object, Iterable, org.apache.hadoop.mapreduce.Reducer.Context)voidJob.setGroupingComparatorClass(Class<? extends RawComparator> cls) Define the comparator that controls which keys are grouped together for a single call toReducer.reduce(Object, Iterable, org.apache.hadoop.mapreduce.Reducer.Context)voidJob.setSortComparatorClass(Class<? extends RawComparator> cls) Define the comparator that controls how the keys are sorted before they are passed to theReducer. -
Uses of RawComparator in org.apache.hadoop.mapreduce.lib.partition
Classes in org.apache.hadoop.mapreduce.lib.partition that implement RawComparatorModifier and TypeClassDescriptionclassThis comparator implementation provides a subset of the features provided by the Unix/GNU Sort. -
Uses of RawComparator in org.apache.hadoop.record
Classes in org.apache.hadoop.record that implement RawComparator