public static final class ComputerTraversalEngine.Builder extends Object implements TraversalEngine.Builder
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ComputerTraversalEngine.Builder |
computer(Class<? extends GraphComputer> graphComputerClass) |
ComputerTraversalEngine |
create(Graph graph)
Create the
TraversalEngine . |
List<TraversalStrategy> |
getWithStrategies()
A list of
TraversalStrategy instances that should be applied to the ultimate Traversal . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWithoutStrategies
public List<TraversalStrategy> getWithStrategies()
TraversalEngine.Builder
TraversalStrategy
instances that should be applied to the ultimate Traversal
.getWithStrategies
in interface TraversalEngine.Builder
public ComputerTraversalEngine.Builder computer(Class<? extends GraphComputer> graphComputerClass)
public ComputerTraversalEngine create(Graph graph)
TraversalEngine.Builder
TraversalEngine
.create
in interface TraversalEngine.Builder
graph
- the graph to ultimately have the Traversal
execute over.TraversalEngine
that is particular to a Traversal
.Copyright © 2013–2015 Apache Software Foundation. All rights reserved.