Example usage for org.apache.hadoop.mapreduce Mapper subclass-usage

List of usage examples for org.apache.hadoop.mapreduce Mapper subclass-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce Mapper subclass-usage.

Usage

From source file DAAL.QRStep1Mapper.java

public class QRStep1Mapper extends Mapper<Object, Text, IntWritable, WriteableData> {

    private static final int nFeatures = 18;
    private static final int nVectors = 16000;
    private static final int nVectorsInBlock = 4000;

From source file DAAL.QRStep3Mapper.java

public class QRStep3Mapper extends Mapper<IntWritable, WriteableData, IntWritable, WriteableData> {

    private static Configuration conf;

    @Override
    public void setup(Context context) {

From source file DAAL.SVDStep1Mapper.java

public class SVDStep1Mapper extends Mapper<Object, Text, IntWritable, WriteableData> {

    private static final int nFeatures = 18;
    private static final int nVectors = 16000;
    private static final int nVectorsInBlock = 4000;

From source file DAAL.SVDStep3Mapper.java

public class SVDStep3Mapper extends Mapper<IntWritable, WriteableData, IntWritable, WriteableData> {

    private static Configuration conf;

    @Override
    public void setup(Context context) {

From source file datafu.hourglass.mapreduce.AvroKeyValueIdentityMapper.java

/**
 * A mapper which outputs key-value pairs as-is.
 * 
 * It assumes the input is an Avro record having "key" and "value" fields.
 * The output is these exact same fields.
 * 

From source file datafu.hourglass.mapreduce.DelegatingMapper.java

/**
 * A Hadoop mapper which delegates to an implementation read from the distributed cache.
 * 
 * @author "Matthew Hayes"
 *
 */

From source file dbscan.DBScanMapper.java

/**
 * This class realizes the map function.
 * 
 * @author Marco Sero
 *
 */

From source file de.l3s.common.features.hadoop.TimeSeriesMapper.java

public class TimeSeriesMapper extends Mapper<LongWritable, Text, Text, Timeseries> {

    private static final String DATE_FORMAT = "yyyy-MM-dd";

    private static SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);

From source file de.tudarmstadt.ukp.dkpro.bigdata.collocations.CollocMapper.java

/**
 * Pass 1 of the Collocation discovery job which generated ngrams and emits ngrams an their
 * component n-1grams. Input is a SequeceFile<Text,StringTuple>, where the key is a document id and
 * the value is the tokenized documents.
 * <p/>
 */

From source file demo.SsMapper.java

/**
 * Secondary sort mapper.
 * @author Jee Vang
 *
 */
public class SsMapper extends Mapper<LongWritable, Text, StockKey, DoubleWritable> {