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 boolean
equals(Object otherObj)
List<Long>
getEdgePath()
List<Long>
getVertexPath()
int
hashCode()
static boolean
isCircle(List<Long> vertexList)
void
readFields(DataInput dataInput)
void
setEdgePath(List<Long> edgePath)
void
setVertexPath(List<Long> vertexPath)
String
toString()
void
write(DataOutput dataOutput)
-
-
-
Method Detail
-
write
public void write(DataOutput dataOutput) throws IOException
- Specified by:
write
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
readFields
public void readFields(DataInput dataInput) throws IOException
- Specified by:
readFields
in interfaceorg.apache.hadoop.io.Writable
- Throws:
IOException
-
-