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 TorrentWebExtracter.java

/**
 * Map function that from a WarcRecord extracts all links. The resulting key,
 * values: page URL, link.
 * 
 * @author mathijs.kattenberg@surfsara.nl
 */

From source file MedianMaper.java

public class MedianMaper extends Mapper<LongWritable, Text, IntWritable, IntWritable> {
    @Override
    public void map(LongWritable Key, Text Value, Context context) throws IOException, InterruptedException {
        int YearWeek;
        double Price;
        Configuration conf = context.getConfiguration();

From source file TestBAM.java

final class TestBAMMapper
        extends org.apache.hadoop.mapreduce.Mapper<LongWritable, SAMRecordWritable, Text, SAMRecordWritable> {
    @Override
    protected void map(LongWritable ignored, SAMRecordWritable wrec,
            org.apache.hadoop.mapreduce.Mapper<LongWritable, SAMRecordWritable, Text, SAMRecordWritable>.Context ctx)
            throws InterruptedException, IOException {

From source file AllLab_Skeleton.Lab1.WordCount_Mapper.java

/**
 *
 * @author Chintan
 */
public class WordCount_Mapper extends Mapper<Object, Text, Text, IntWritable> {

From source file AllLab_Skeleton.Lab2.Lab2Mapper.java

/**
 *
 * @author pooja
 */
public class Lab2Mapper extends Mapper<Object, Text, CompositeKeyWritable, NullWritable> {

From source file Analysis.A10_Weekday_v_Weekend_Listens.Listen_History_Weekday_Weekend_Mapper.java

/**
 *
 * @author Chintan
 */
public class Listen_History_Weekday_Weekend_Mapper extends Mapper<Object, Text, NullWritable, NullWritable> {
    public static final String DAY_COUNTER_GROUP = "Day";

From source file Analysis.A1_Total_Unique_Artists_on_Service.Distinct_Artist_Mapper.java

/**
 *
 * @author Chintan
 */
public class Distinct_Artist_Mapper extends Mapper<Object, Text, Text, NullWritable> {
    private Text artistName;

From source file Analysis.A2_Top_20_Most_Popular_Artists.Top_20_Most_Popular_Artist_Mapper.java

/**
 *
 * @author Chintan
 */
public class Top_20_Most_Popular_Artist_Mapper extends Mapper<Object, Text, Text, IntWritable> {
    private Text artistName;

From source file Analysis.A3_Total_Users_By_Gender.User_Gender_Count_Mapper.java

/**
 *
 * @author Chintan
 */
public class User_Gender_Count_Mapper extends Mapper<Object, Text, Text, IntWritable> {
    private Text gender;

From source file Analysis.A4_High_Traffic_Countries.Top_10_Countries_by_User_Traffic_Mapper.java

/**
 *
 * @author Chintan
 */
public class Top_10_Countries_by_User_Traffic_Mapper extends Mapper<Object, Text, Text, IntWritable> {
    private Text country;