public final class VectorAndPrefsWritable extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
VectorAndPrefsWritable() |
VectorAndPrefsWritable(Vector vector,
List<Long> userIDs,
List<Float> values) |
public Vector getVector()
public void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionpublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.