public class TransposeMapper extends org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
Modifier and Type | Field and Description |
---|---|
static String |
NEW_NUM_COLS_PARAM |
Constructor and Description |
---|
TransposeMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(org.apache.hadoop.io.IntWritable r,
VectorWritable v,
org.apache.hadoop.mapreduce.Mapper.Context ctx) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) |
public static final String NEW_NUM_COLS_PARAM
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
setup
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
protected void map(org.apache.hadoop.io.IntWritable r, VectorWritable v, org.apache.hadoop.mapreduce.Mapper.Context ctx) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.IntWritable,VectorWritable,org.apache.hadoop.io.IntWritable,VectorWritable>
IOException
InterruptedException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.