public abstract class PathExpanders extends Object
PathExpander factory methods.
Use PathExpanderBuilder to build specialized PathExpanders.
| Modifier and Type | Method and Description |
|---|---|
static <STATE> PathExpander<STATE> |
allTypesAndDirections()
A very permissive
PathExpander that follows any type in any direction. |
static <STATE> PathExpander<STATE> |
forConstantDirectionWithTypes(RelationshipType... types)
An expander forcing constant relationship direction
|
static <STATE> PathExpander<STATE> |
forDirection(Direction direction)
A very permissive
PathExpander that follows any type in direction. |
static <STATE> PathExpander<STATE> |
forType(RelationshipType type)
A very permissive
PathExpander that follows type in any direction. |
static <STATE> PathExpander<STATE> |
forTypeAndDirection(RelationshipType type,
Direction direction)
|
static <STATE> PathExpander<STATE> |
forTypesAndDirections(RelationshipType type1,
Direction direction1,
RelationshipType type2,
Direction direction2,
Object... more)
|
public static <STATE> PathExpander<STATE> allTypesAndDirections()
PathExpander that follows any type in any direction.public static <STATE> PathExpander<STATE> forType(RelationshipType type)
PathExpander that follows type in any direction.public static <STATE> PathExpander<STATE> forDirection(Direction direction)
PathExpander that follows any type in direction.public static <STATE> PathExpander<STATE> forTypeAndDirection(RelationshipType type, Direction direction)
public static <STATE> PathExpander<STATE> forTypesAndDirections(RelationshipType type1, Direction direction1, RelationshipType type2, Direction direction2, Object... more)
public static <STATE> PathExpander<STATE> forConstantDirectionWithTypes(RelationshipType... types)
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.