|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.kernel.StandardExpander
public abstract class StandardExpander
| Field Summary | |
|---|---|
static StandardExpander |
DEFAULT
|
| Method Summary | |
|---|---|
StandardExpander |
add(RelationshipType type)
Add a RelationshipType to the Expander. |
abstract StandardExpander |
add(RelationshipType type,
Direction direction)
Add a RelationshipType with a Direction to the
Expander. |
StandardExpander |
addNodeFilter(Predicate<? super Node> filter)
Add a Node filter. |
StandardExpander |
addRelationshipFilter(Predicate<? super Relationship> filter)
Add a Relationship filter. |
Expander |
addRelationsipFilter(Predicate<? super Relationship> filter)
Add a Relationship filter. |
org.neo4j.kernel.Expansion<Relationship> |
expand(Node node)
Returns relationships for a Node. |
org.neo4j.kernel.Expansion<Relationship> |
expand(Path path,
BranchState state)
Returns relationships for a Path, most commonly from the
Path.endNode(). |
abstract StandardExpander |
remove(RelationshipType type)
Remove a RelationshipType from the Expander. |
abstract StandardExpander |
reverse()
Returns a new instance with the exact expansion logic, but reversed. |
abstract StandardExpander |
reversed()
Returns a new instance with the exact expansion logic, but reversed. |
static PathExpander |
toPathExpander(RelationshipExpander expander)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final StandardExpander DEFAULT
| Method Detail |
|---|
public final org.neo4j.kernel.Expansion<Relationship> expand(Node node)
RelationshipExpanderNode.
expand in interface RelationshipExpandernode - the node to expand.
node.
public final org.neo4j.kernel.Expansion<Relationship> expand(Path path,
BranchState state)
PathExpanderPath, most commonly from the
Path.endNode().
expand in interface PathExpanderpath - the path to expand (most commonly the end node).state - the state of this branch in the current traversal.
BranchState.getState() returns the state and
BranchState.setState(Object) optionally sets the state for
the children of this branch. If state isn't altered the children
of this path will see the state of the parent.
path.public final String toString()
toString in class Objectpublic final StandardExpander add(RelationshipType type)
ExpanderRelationshipType to the Expander.
add in interface Expandertype - relationship type
public abstract StandardExpander add(RelationshipType type,
Direction direction)
ExpanderRelationshipType with a Direction to the
Expander.
add in interface Expandertype - relationship typedirection - expanding direction
public abstract StandardExpander remove(RelationshipType type)
ExpanderRelationshipType from the Expander.
remove in interface Expandertype - relationship type
public abstract StandardExpander reverse()
PathExpander
reverse in interface PathExpanderPathExpander.public abstract StandardExpander reversed()
RelationshipExpander
reversed in interface Expanderreversed in interface RelationshipExpanderRelationshipExpander.public StandardExpander addNodeFilter(Predicate<? super Node> filter)
ExpanderNode filter.
addNodeFilter in interface Expanderfilter - filter to use
public final Expander addRelationsipFilter(Predicate<? super Relationship> filter)
ExpanderRelationship filter.
addRelationsipFilter in interface Expanderfilter - filter to use
public StandardExpander addRelationshipFilter(Predicate<? super Relationship> filter)
ExpanderRelationship filter.
addRelationshipFilter in interface Expanderfilter - filter to use
public static PathExpander toPathExpander(RelationshipExpander expander)
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||