org.apache.mahout.cf.taste.hadoop.cooccurence
Class UserItemRecommender.RecommenderMapper

java.lang.Object
  extended by org.apache.hadoop.mapred.MapReduceBase
      extended by org.apache.mahout.cf.taste.hadoop.cooccurence.UserItemRecommender.RecommenderMapper
All Implemented Interfaces:
java.io.Closeable, org.apache.hadoop.mapred.JobConfigurable, org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.VIntWritable,TupleWritable,Bigram,TupleWritable>
Enclosing class:
UserItemRecommender

public static class UserItemRecommender.RecommenderMapper
extends org.apache.hadoop.mapred.MapReduceBase
implements org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.VIntWritable,TupleWritable,Bigram,TupleWritable>


Constructor Summary
UserItemRecommender.RecommenderMapper()
           
 
Method Summary
 void map(org.apache.hadoop.io.VIntWritable user, TupleWritable tuple, org.apache.hadoop.mapred.OutputCollector<Bigram,TupleWritable> output, org.apache.hadoop.mapred.Reporter reporter)
           
 
Methods inherited from class org.apache.hadoop.mapred.MapReduceBase
close, configure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.mapred.JobConfigurable
configure
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

UserItemRecommender.RecommenderMapper

public UserItemRecommender.RecommenderMapper()
Method Detail

map

public void map(org.apache.hadoop.io.VIntWritable user,
                TupleWritable tuple,
                org.apache.hadoop.mapred.OutputCollector<Bigram,TupleWritable> output,
                org.apache.hadoop.mapred.Reporter reporter)
         throws java.io.IOException
Specified by:
map in interface org.apache.hadoop.mapred.Mapper<org.apache.hadoop.io.VIntWritable,TupleWritable,Bigram,TupleWritable>
Throws:
java.io.IOException


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.