public final class Computer extends Object implements Function<Graph,GraphComputer>, Serializable, Cloneable
Modifier and Type | Method and Description |
---|---|
GraphComputer |
apply(Graph graph) |
Computer |
clone() |
static Computer |
compute() |
static Computer |
compute(Class<? extends GraphComputer> graphComputerClass) |
Computer |
configure(Map<String,Object> configurations) |
Computer |
configure(String key,
Object value) |
Computer |
edges(Traversal<Vertex,Edge> edgeFilter) |
Map<String,Object> |
getConfiguration() |
Traversal<Vertex,Edge> |
getEdges() |
Class<? extends GraphComputer> |
getGraphComputerClass() |
GraphComputer.Persist |
getPersist() |
GraphComputer.ResultGraph |
getResultGraph() |
Traversal<Vertex,Vertex> |
getVertices() |
int |
getWorkers() |
Computer |
graphComputer(Class<? extends GraphComputer> graphComputerClass) |
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 graphComputer(Class<? extends GraphComputer> graphComputerClass)
public Computer workers(int workers)
public Computer persist(GraphComputer.Persist persist)
public Computer result(GraphComputer.ResultGraph resultGraph)
public GraphComputer apply(Graph graph)
apply
in interface Function<Graph,GraphComputer>
public Class<? extends GraphComputer> getGraphComputerClass()
public GraphComputer.Persist getPersist()
public GraphComputer.ResultGraph getResultGraph()
public int getWorkers()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.