Class Computer
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.computer.Computer
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Function<Graph,GraphComputer>
 
 public final class Computer extends Object implements Function<Graph,GraphComputer>, Serializable, Cloneable - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphComputerapply(Graph graph)Computerclone()static Computercompute()static Computercompute(Class<? extends GraphComputer> graphComputerClass)Computerconfigure(String key, Object value)Computerconfigure(Map<String,Object> configurations)Computeredges(Traversal<Vertex,Edge> edgeFilter)Map<String,Object>getConfiguration()Traversal<Vertex,Edge>getEdges()Class<? extends GraphComputer>getGraphComputerClass()GraphComputer.PersistgetPersist()GraphComputer.ResultGraphgetResultGraph()Traversal<Vertex,Vertex>getVertices()intgetWorkers()ComputergraphComputer(Class<? extends GraphComputer> graphComputerClass)Computerpersist(GraphComputer.Persist persist)Computerresult(GraphComputer.ResultGraph resultGraph)StringtoString()Computervertices(Traversal<Vertex,Vertex> vertexFilter)Computerworkers(int workers)
 
- 
- 
- 
Method Detail- 
computepublic static Computer compute() 
 - 
computepublic static Computer compute(Class<? extends GraphComputer> graphComputerClass) 
 - 
graphComputerpublic Computer graphComputer(Class<? extends GraphComputer> graphComputerClass) 
 - 
workerspublic Computer workers(int workers) 
 - 
persistpublic Computer persist(GraphComputer.Persist persist) 
 - 
resultpublic Computer result(GraphComputer.ResultGraph resultGraph) 
 - 
applypublic GraphComputer apply(Graph graph) - Specified by:
- applyin interface- Function<Graph,GraphComputer>
 
 - 
getGraphComputerClasspublic Class<? extends GraphComputer> getGraphComputerClass() 
 - 
getPersistpublic GraphComputer.Persist getPersist() 
 - 
getResultGraphpublic GraphComputer.ResultGraph getResultGraph() 
 - 
getWorkerspublic int getWorkers() 
 
- 
 
-