Class VertexProgramStrategy.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.traversal.strategy.decoration.VertexProgramStrategy.Builder
-
- Enclosing class:
- VertexProgramStrategy
public static final class VertexProgramStrategy.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VertexProgramStrategy.Builder
computer(Computer computer)
VertexProgramStrategy.Builder
configure(String key, Object value)
VertexProgramStrategy.Builder
configure(Map<String,Object> configurations)
VertexProgramStrategy
create()
VertexProgramStrategy.Builder
edges(Traversal<Vertex,Edge> edges)
VertexProgramStrategy.Builder
graphComputer(Class<? extends GraphComputer> graphComputerClass)
VertexProgramStrategy.Builder
persist(GraphComputer.Persist persist)
VertexProgramStrategy.Builder
result(GraphComputer.ResultGraph resultGraph)
VertexProgramStrategy.Builder
vertices(Traversal<Vertex,Vertex> vertices)
VertexProgramStrategy.Builder
workers(int workers)
-
-
-
Method Detail
-
computer
public VertexProgramStrategy.Builder computer(Computer computer)
-
graphComputer
public VertexProgramStrategy.Builder graphComputer(Class<? extends GraphComputer> graphComputerClass)
-
configure
public VertexProgramStrategy.Builder configure(String key, Object value)
-
configure
public VertexProgramStrategy.Builder configure(Map<String,Object> configurations)
-
workers
public VertexProgramStrategy.Builder workers(int workers)
-
persist
public VertexProgramStrategy.Builder persist(GraphComputer.Persist persist)
-
result
public VertexProgramStrategy.Builder result(GraphComputer.ResultGraph resultGraph)
-
vertices
public VertexProgramStrategy.Builder vertices(Traversal<Vertex,Vertex> vertices)
-
edges
public VertexProgramStrategy.Builder edges(Traversal<Vertex,Edge> edges)
-
create
public VertexProgramStrategy create()
-
-