Package | Description |
---|---|
org.neo4j.graphdb |
The core graph database API.
|
org.neo4j.graphdb.traversal |
Traversal framework.
|
Modifier and Type | Method and Description |
---|---|
Iterable<Relationship> |
PathExpander.expand(Path path,
BranchState<STATE> state)
Returns relationships for a
Path , most commonly from the
Path.endNode() . |
Modifier and Type | Method and Description |
---|---|
static <STATE> PathExpander<STATE> |
PathExpanders.printingWrapper(PathExpander<STATE> source,
BiFunction<Path,BranchState,Boolean> pred)
A wrapper that uses
Paths.DefaultPathDescriptor
to print expanded paths that fulfill BiFunction predicate. |
static <STATE> PathExpander<STATE> |
PathExpanders.printingWrapper(PathExpander<STATE> source,
BiFunction<Path,BranchState,Boolean> pred,
Paths.PathDescriptor descriptor)
A wrapper that uses
Paths.DefaultPathDescriptor to print expanded paths
that fulfill BiFunction predicate using given Paths.PathDescriptor . |
static <STATE> PathExpander<STATE> |
PathExpanders.printingWrapper(PathExpander<STATE> source,
BiFunction<Path,BranchState,Boolean> pred,
Paths.PathDescriptor descriptor,
PrintStream out)
A wrapper that uses
Paths.DefaultPathDescriptor to print expanded paths
that fulfill BiFunction predicate using given Paths.PathDescriptor . |
Modifier and Type | Field and Description |
---|---|
static BranchState |
BranchState.NO_STATE
Instance representing no state, usage resulting in
IllegalStateException being thrown. |
Modifier and Type | Method and Description |
---|---|
Evaluation |
Evaluator.AsPathEvaluator.evaluate(Path path,
BranchState<STATE> state) |
Evaluation |
PathEvaluator.evaluate(Path path,
BranchState<STATE> state)
Evaluates a
Path and returns an Evaluation containing
information about whether or not to include it in the traversal result,
i.e return it from the Traverser . |
<STATE> Evaluation |
TraversalContext.evaluate(TraversalBranch branch,
BranchState<STATE> state)
Evaluates a
TraversalBranch whether or not to include it in the
result and whether or not to continue further down this branch or not. |
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.