public final class UserVectorSplitterMapper extends org.apache.hadoop.mapreduce.Mapper<VarLongWritable,VectorWritable,VarIntWritable,VectorOrPrefWritable>
Constructor and Description |
---|
UserVectorSplitterMapper() |
Modifier and Type | Method and Description |
---|---|
protected void |
map(VarLongWritable key,
VectorWritable value,
org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void |
setup(org.apache.hadoop.mapreduce.Mapper.Context context) |
protected void setup(org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException
setup
in class org.apache.hadoop.mapreduce.Mapper<VarLongWritable,VectorWritable,VarIntWritable,VectorOrPrefWritable>
IOException
protected void map(VarLongWritable key, VectorWritable value, org.apache.hadoop.mapreduce.Mapper.Context context) throws IOException, InterruptedException
map
in class org.apache.hadoop.mapreduce.Mapper<VarLongWritable,VectorWritable,VarIntWritable,VectorOrPrefWritable>
IOException
InterruptedException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.