public final class StandardTraversalEngine extends Object implements TraversalEngine
Modifier and Type | Class and Description |
---|---|
static class |
StandardTraversalEngine.Builder |
TraversalEngine.Type
Modifier and Type | Method and Description |
---|---|
static StandardTraversalEngine.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 . |
static StandardTraversalEngine |
instance() |
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 StandardTraversalEngine.Builder build()
public static StandardTraversalEngine instance()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.