public class VertexWritable extends Object implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
VertexWritable() |
VertexWritable(int i,
int j,
double v,
String t) |
public VertexWritable()
public VertexWritable(int i,
int j,
double v,
String t)
public int getRow()
public void setRow(int i)
public int getCol()
public void setCol(int j)
public double getValue()
public void setValue(double v)
public String getType()
public void setType(String t)
public void readFields(DataInput arg0) throws IOException
readFields in interface org.apache.hadoop.io.WritableIOExceptionpublic void write(DataOutput arg0) throws IOException
write in interface org.apache.hadoop.io.WritableIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.