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()
void
readFields(DataInput in)
void
setVertexAttr(List<MsgWritable> vertexAttr)
String
toString()
void
write(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:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
-