Class MsgWritable
- java.lang.Object
-
- com.alibaba.graphscope.example.giraph.circle.MsgWritable
-
- All Implemented Interfaces:
org.apache.hadoop.io.Writable
public class MsgWritable extends Object implements org.apache.hadoop.io.Writable
-
-
Constructor Summary
Constructors Constructor Description MsgWritable()MsgWritable(List<Long> vertexPath, List<Long> edgePath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object otherObj)List<Long>getEdgePath()List<Long>getVertexPath()inthashCode()static booleanisCircle(List<Long> vertexList)voidreadFields(DataInput dataInput)voidsetEdgePath(List<Long> edgePath)voidsetVertexPath(List<Long> vertexPath)StringtoString()voidwrite(DataOutput dataOutput)
-
-
-
Method Detail
-
write
public void write(DataOutput dataOutput) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
readFields
public void readFields(DataInput dataInput) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
-