public final class ComputerTraversalEngine extends Object implements TraversalEngine
Modifier and Type | Class and Description |
---|---|
static class |
ComputerTraversalEngine.Builder |
static class |
ComputerTraversalEngine.ComputerResultStrategy |
TraversalEngine.Type
Modifier and Type | Method and Description |
---|---|
static ComputerTraversalEngine.Builder |
build() |
Optional<GraphComputer> |
getGraphComputer()
If the traversal engine is of type
TraversalEngine.Type.COMPUTER , then it should have the GraphComputer used for executing the traversal. |
TraversalEngine.Type |
getType()
Get the type of the engine:
TraversalEngine.Type.STANDARD or TraversalEngine.Type.COMPUTER . |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isComputer, isStandard
public TraversalEngine.Type getType()
TraversalEngine
TraversalEngine.Type.STANDARD
or TraversalEngine.Type.COMPUTER
.getType
in interface TraversalEngine
public Optional<GraphComputer> getGraphComputer()
TraversalEngine
TraversalEngine.Type.COMPUTER
, then it should have the GraphComputer
used for executing the traversal.getGraphComputer
in interface TraversalEngine
public static ComputerTraversalEngine.Builder build()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.