org.apache.mahout.cf.taste.hadoop.cooccurence
Class TupleWritable
java.lang.Object
org.apache.hadoop.io.ArrayWritable
org.apache.mahout.cf.taste.hadoop.cooccurence.TupleWritable
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
public final class TupleWritable
- extends org.apache.hadoop.io.ArrayWritable
Methods inherited from class org.apache.hadoop.io.ArrayWritable |
get, getValueClass, readFields, set, toArray, toStrings, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TupleWritable
public TupleWritable()
TupleWritable
public TupleWritable(int size)
TupleWritable
public TupleWritable(org.apache.hadoop.io.Writable... writables)
set
public void set(int idx,
org.apache.hadoop.io.Writable field)
get
public TupleWritable.Field get(int idx)
getInt
public int getInt(int idx)
getLong
public long getLong(int idx)
getDouble
public double getDouble(int idx)
getText
public org.apache.hadoop.io.Text getText(int idx)
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.