public final class Computer extends Object implements Function<Graph,GraphComputer>, Serializable
Modifier and Type | Method and Description |
---|---|
GraphComputer |
apply(Graph graph) |
static Computer |
compute() |
static Computer |
compute(Class<? extends GraphComputer> graphComputerClass) |
Computer |
configure(String key,
Object value) |
Computer |
edges(Traversal<Vertex,Edge> edgeFilter) |
Class<? extends GraphComputer> |
getGraphComputerClass() |
Computer |
persist(GraphComputer.Persist persist) |
Computer |
result(GraphComputer.ResultGraph resultGraph) |
String |
toString() |
Computer |
vertices(Traversal<Vertex,Vertex> vertexFilter) |
Computer |
workers(int workers) |
public static Computer compute()
public static Computer compute(Class<? extends GraphComputer> graphComputerClass)
public Computer workers(int workers)
public Computer persist(GraphComputer.Persist persist)
public Computer result(GraphComputer.ResultGraph resultGraph)
public Class<? extends GraphComputer> getGraphComputerClass()
public GraphComputer apply(Graph graph)
apply
in interface Function<Graph,GraphComputer>
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.