public abstract class PathExpanders extends Object
PathExpander
factory methods. Copied from kernel package so that we can hide
kernel from the public API.
Use PathExpanderBuilder
to build specialised PathExpander
s.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> |
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)
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.