Class VertexInput
- java.lang.Object
-
- org.apache.hugegraph.computer.core.compute.input.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasNext()ReusablePointeridPointer()voidinit()org.apache.hugegraph.computer.core.graph.vertex.Vertexnext()
-
-
-
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()
-
idPointer
public ReusablePointer idPointer()
-
-