|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mahout.cf.taste.hadoop.TasteHadoopUtils
public final class TasteHadoopUtils
Some helper methods for the hadoop-related stuff in org.apache.mahout.cf.taste
| Method Summary | |
|---|---|
static int |
idToIndex(long id)
Maps a long to an int |
static org.apache.mahout.math.map.OpenIntLongHashMap |
readItemIDIndexMap(String itemIDIndexPathStr,
org.apache.hadoop.conf.Configuration conf)
Reads a binary mapping file |
static String[] |
splitPrefTokens(CharSequence line)
Splits a preference data line into string tokens |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String[] splitPrefTokens(CharSequence line)
public static int idToIndex(long id)
public static org.apache.mahout.math.map.OpenIntLongHashMap readItemIDIndexMap(String itemIDIndexPathStr,
org.apache.hadoop.conf.Configuration conf)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||