Class MsgWritable

  • All Implemented Interfaces:
    org.apache.hadoop.io.Writable

    public class MsgWritable
    extends Object
    implements org.apache.hadoop.io.Writable
    • Constructor Detail

      • MsgWritable

        public MsgWritable()
      • MsgWritable

        public MsgWritable​(List<Long> vertexPath,
                           List<Long> edgePath)
    • Method Detail

      • isCircle

        public static boolean isCircle​(List<Long> vertexList)
      • getVertexPath

        public List<Long> getVertexPath()
      • setVertexPath

        public void setVertexPath​(List<Long> vertexPath)
      • getEdgePath

        public List<Long> getEdgePath()
      • setEdgePath

        public void setEdgePath​(List<Long> edgePath)
      • readFields

        public void readFields​(DataInput dataInput)
                        throws IOException
        Specified by:
        readFields in interface org.apache.hadoop.io.Writable
        Throws:
        IOException
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object