STATE
- type of initial state to produce.InitialBranchState
instead, which has got
InitialBranchState.reverse()
as well.public interface InitialStateFactory<STATE>
TraversalBranch
es in a traversal.Modifier and Type | Interface and Description |
---|---|
static class |
InitialStateFactory.AsInitialBranchState<STATE>
Deprecated.
Wraps an
InitialStateFactory in a InitialBranchState |
Modifier and Type | Field and Description |
---|---|
static InitialStateFactory |
NO_STATE
Deprecated.
An
InitialStateFactory which returns null as state. |
Modifier and Type | Method and Description |
---|---|
STATE |
initialState(Path path)
Deprecated.
Returns an initial state for a
Path . |
static final InitialStateFactory NO_STATE
InitialStateFactory
which returns null
as state.STATE initialState(Path path)
Path
. All paths entering this method
are start paths(es) of a traversal. State is passed down along traversal
branches as the traversal progresses and can be changed at any point by a
PathExpander
to becomes the new state from that point in that branch
and downwards.path
- the start branch to return the initial state for.Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.