Class VertexInput


  • public class VertexInput
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      VertexInput​(org.apache.hugegraph.computer.core.common.ComputerContext context, java.io.File vertexFile, long vertexCount)  
    • Constructor Detail

      • VertexInput

        public VertexInput​(org.apache.hugegraph.computer.core.common.ComputerContext context,
                           java.io.File vertexFile,
                           long vertexCount)
    • Method Detail

      • init

        public void init()
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • hasNext

        public boolean hasNext()
      • next

        public org.apache.hugegraph.computer.core.graph.vertex.Vertex next()