Class VertexAttrWritable
- java.lang.Object
-
- com.alibaba.graphscope.example.giraph.circle.VertexAttrWritable
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
public class VertexAttrWritable extends Object implements org.apache.hadoop.io.Writable
-
-
Constructor Summary
Constructors Constructor Description VertexAttrWritable()VertexAttrWritable(List<MsgWritable> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MsgWritable>getVertexAttr()voidreadFields(DataInput in)voidsetVertexAttr(List<MsgWritable> vertexAttr)StringtoString()voidwrite(DataOutput out)
-
-
-
Constructor Detail
-
VertexAttrWritable
public VertexAttrWritable()
-
VertexAttrWritable
public VertexAttrWritable(List<MsgWritable> values)
-
-
Method Detail
-
getVertexAttr
public List<MsgWritable> getVertexAttr()
-
setVertexAttr
public void setVertexAttr(List<MsgWritable> vertexAttr)
-
readFields
public void readFields(DataInput in) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
-