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, waitgetWithoutStrategiespublic List<TraversalStrategy> getWithStrategies()
TraversalEngine.BuilderTraversalStrategy instances that should be applied to the ultimate Traversal.getWithStrategies in interface TraversalEngine.Builderpublic ComputerTraversalEngine.Builder computer(Class<? extends GraphComputer> graphComputerClass)
public ComputerTraversalEngine create(Graph graph)
TraversalEngine.BuilderTraversalEngine.create in interface TraversalEngine.Buildergraph - 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.