public interface TraversalSource
TraversalSource
is responsible for generating a Traversal
. A TraversalSource
, once built,
can generate any number of Traversal
instances. Each traversal DSL will maintain a corresponding
TraversalSource
which specifies the methods which being a "fluent-chaining" of traversal steps.Modifier and Type | Interface and Description |
---|---|
static interface |
TraversalSource.Builder<C extends TraversalSource> |
Modifier and Type | Method and Description |
---|---|
TraversalSource.Builder |
asBuilder() |
Optional<Graph> |
getGraph()
Gets the
Graph associated with the TraversalSource which could be constructed as empty. |
Optional<GraphComputer> |
getGraphComputer()
Gets the
GraphComputer associated with the TraversalSource which could be constructed as empty. |
List<TraversalStrategy> |
getStrategies()
Gets the list of
TraversalStrategy instances that will be applied to Traversal objects
generated from this TraversalSource . |
TraversalSource.Builder asBuilder()
Optional<GraphComputer> getGraphComputer()
GraphComputer
associated with the TraversalSource
which could be constructed as empty.Optional<Graph> getGraph()
Graph
associated with the TraversalSource
which could be constructed as empty.List<TraversalStrategy> getStrategies()
TraversalStrategy
instances that will be applied to Traversal
objects
generated from this TraversalSource
.Copyright © 2013–2016 Apache Software Foundation. All rights reserved.