public class VertexWritable extends Object implements org.apache.hadoop.io.Writable
Constructor and Description |
---|
VertexWritable() |
VertexWritable(int i,
int j,
double v,
String t) |
Modifier and Type | Method and Description |
---|---|
int |
getCol() |
int |
getRow() |
String |
getType() |
double |
getValue() |
void |
readFields(DataInput arg0) |
void |
setCol(int j) |
void |
setRow(int i) |
void |
setType(String t) |
void |
setValue(double v) |
void |
write(DataOutput arg0) |
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.Writable
IOException
public void write(DataOutput arg0) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.