List of usage examples for org.apache.hadoop.io WritableComparator subclass-usage
From source file ldbc.socialnet.dbgen.util.UpdateEventComparator.java
public class UpdateEventComparator extends WritableComparator { protected UpdateEventComparator() { super(LongWritable.class); } @Override
From source file ldbc.socialnet.dbgen.util.UpdateEventGroupKeyComparator.java
public class UpdateEventGroupKeyComparator extends WritableComparator { protected UpdateEventGroupKeyComparator() { super(LongWritable.class); } @Override
From source file license.LicenseGroupingComparator.java
public class LicenseGroupingComparator extends WritableComparator { public LicenseGroupingComparator() { super(LicenseKey.class, true); }
From source file mahout.analysis.MahoutOAComparator.java
/** * * @author palashkochar */ public class MahoutOAComparator extends WritableComparator {
From source file name.abhijitsarkar.hadoop.join.KeyGroupingComparator.java
/**
* This class groups the output from {@link CustomerMapper CustomerMapper} and from {@link OrderMapper OrderMapper} so
* that both customer and order records with the same key (customer ID) are sent to the reducer in one invocation.
* Without custom grouping, the records are sent separately to the Reducer which forces it to save the records in memory
* until a match for the key is found in a subsequent iteration. That is not a scalable solution and will run out of
* memory for large data sets.
From source file nl.sanoma.hdt.report.generator.KeyDataComparator.java
/**
* Comparator to ensure that the date will be sorted by categories, so the
* reducer can process it one after another
*
* @author Richrd Ern Kiss
*/
From source file nl.sanoma.hdt.report.generator.KeyDataGroupingComparator.java
/** * Class to ensure that all the data of a user is processed by the same reducer * * @author Richrd Ern Kiss */ public class KeyDataGroupingComparator extends WritableComparator {
From source file org.acacia.csr.java.SortComparator.java
/**
* Compares the composite key, {@link StockKey}.
* We sort by symbol ascendingly and timestamp
* descendingly.
* @author Jee Vang
*
From source file org.acacia.csr.java.VertexComparator.java
/**
* Compares the composite key, {@link StockKey}.
* We sort by symbol ascendingly and timestamp
* descendingly.
* @author Jee Vang
*
From source file org.apache.blur.mapreduce.lib.update.IndexKeyWritableComparator.java
public class IndexKeyWritableComparator extends WritableComparator { public IndexKeyWritableComparator() { super(IndexKey.class, true); }