List of usage examples for org.apache.hadoop.io WritableComparator subclass-usage
From source file com.mapred.DepDateGroupingComparator.java
public class DepDateGroupingComparator extends WritableComparator { public DepDateGroupingComparator() { super(DepDatePair.class, true); }
From source file com.mongodb.hadoop.io.BSONComparator.java
/**
* Copyright (c) 2010, 2011 10gen, Inc. <http://10gen.com>
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
From source file com.mongodb.hadoop.io.BSONWritableComparator.java
public class BSONWritableComparator extends WritableComparator { private static final Log LOG = LogFactory.getLog(BSONWritableComparator.class); public BSONWritableComparator() { super(BSONWritable.class, true);
From source file com.pagerankcalculator.ordering.DoubleSortDescComparator.java
/** * * @author mfikria */ public class DoubleSortDescComparator extends WritableComparator { protected DoubleSortDescComparator() {
From source file com.placeiq.piqconnect.VLongWritableComparator.java
public class VLongWritableComparator extends WritableComparator { public VLongWritableComparator() { super(VLongWritable.class); } public int compare(byte[] b1, int s1, int l1, byte[] b2, int s2, int l2) {
From source file com.sequoiadb.hadoop.io.BSONWritableComparator.java
/**
*
*
* @classNameBSONWritableComparator
*
* @author gaoshengjie
From source file com.sirius.hadoop.job.onlinetime.StatusKeyGroupComparator.java
/** * Created by pippo on 14-9-19. */ public class StatusKeyGroupComparator extends WritableComparator { public StatusKeyGroupComparator() {
From source file com.synerzip.analytics.commoncrawl.googleads.model.GoogleAdsInfoCompartor.java
/** * GoogleAdsInfo Compartor * @author Sumeet Nikam * */ public class GoogleAdsInfoCompartor extends WritableComparator {
From source file com.veera.secondarysort.demo2.CompositeKeyComparator.java
/**
* Compares the composite key, {@link StockKey}.
* We sort by symbol ascendingly and timestamp
* descendingly.
* @author Jee Vang
*
From source file com.veera.secondarysort.demo2.NaturalKeyGroupingComparator.java
/** * Groups values based on symbol of {@link StockKey} (the natural key). * @author Jee Vang * */ public class NaturalKeyGroupingComparator extends WritableComparator {