org.apache.mahout.cf.taste.hadoop.cooccurence
Class UserItemJoiner

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.mahout.cf.taste.hadoop.cooccurence.UserItemJoiner
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public final class UserItemJoiner
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool


Nested Class Summary
static class UserItemJoiner.JoinItemMapper
           
static class UserItemJoiner.JoinItemUserReducer
           
static class UserItemJoiner.JoinUserMapper
           
 
Constructor Summary
UserItemJoiner()
           
 
Method Summary
 org.apache.hadoop.mapred.JobConf prepareJob(org.apache.hadoop.fs.Path userInputPath, org.apache.hadoop.fs.Path itemInputPath, org.apache.hadoop.fs.Path outputPath, int reducers)
           
 int run(java.lang.String[] args)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
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.conf.Configurable
getConf, setConf
 

Constructor Detail

UserItemJoiner

public UserItemJoiner()
Method Detail

prepareJob

public org.apache.hadoop.mapred.JobConf prepareJob(org.apache.hadoop.fs.Path userInputPath,
                                                   org.apache.hadoop.fs.Path itemInputPath,
                                                   org.apache.hadoop.fs.Path outputPath,
                                                   int reducers)

run

public int run(java.lang.String[] args)
        throws java.io.IOException
Specified by:
run in interface org.apache.hadoop.util.Tool
Throws:
java.io.IOException


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