Class HugeVertexFetcher
- java.lang.Object
-
- org.apache.hugegraph.computer.core.input.hg.HugeElementFetcher<org.apache.hugegraph.structure.graph.Vertex>
-
- org.apache.hugegraph.computer.core.input.hg.HugeVertexFetcher
-
- All Implemented Interfaces:
java.util.Iterator<org.apache.hugegraph.structure.graph.Vertex>,ElementFetcher<org.apache.hugegraph.structure.graph.Vertex>,VertexFetcher
public class HugeVertexFetcher extends HugeElementFetcher<org.apache.hugegraph.structure.graph.Vertex> implements VertexFetcher
-
-
Constructor Summary
Constructors Constructor Description HugeVertexFetcher(org.apache.hugegraph.computer.core.config.Config config, org.apache.hugegraph.driver.HugeClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()java.util.Iterator<org.apache.hugegraph.structure.graph.Vertex>fetch(InputSplit split)-
Methods inherited from class org.apache.hugegraph.computer.core.input.hg.HugeElementFetcher
client, config, hasNext, next, pageSize, prepareLoadInputSplit, toShard
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.hugegraph.computer.core.input.ElementFetcher
prepareLoadInputSplit
-
-
-
-
Method Detail
-
fetch
public java.util.Iterator<org.apache.hugegraph.structure.graph.Vertex> fetch(InputSplit split)
- Specified by:
fetchin classHugeElementFetcher<org.apache.hugegraph.structure.graph.Vertex>
-
close
public void close()
- Specified by:
closein interfaceVertexFetcher
-
-