|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Expander
This interface is an extension of the RelationshipExpander
interface
that makes it possible to build customized versions of an Expander
.
Method Summary | |
---|---|
Expander |
add(RelationshipType type)
Add a RelationshipType to the Expander . |
Expander |
add(RelationshipType type,
Direction direction)
Add a RelationshipType with a Direction to the
Expander . |
Expander |
addNodeFilter(Predicate<? super Node> filter)
Add a Node filter. |
Expander |
addRelationshipFilter(Predicate<? super Relationship> filter)
Add a Relationship filter. |
Expander |
addRelationsipFilter(Predicate<? super Relationship> filter)
Deprecated. because of typo, use addRelationshipFilter(Predicate) instead |
Expander |
remove(RelationshipType type)
Remove a RelationshipType from the Expander . |
Expander |
reversed()
Returns a new instance with the exact expansion logic, but reversed. |
Methods inherited from interface org.neo4j.graphdb.RelationshipExpander |
---|
expand |
Method Detail |
---|
Expander reversed()
RelationshipExpander
reversed
in interface RelationshipExpander
RelationshipExpander
.Expander add(RelationshipType type)
RelationshipType
to the Expander
.
type
- relationship type
Expander add(RelationshipType type, Direction direction)
RelationshipType
with a Direction
to the
Expander
.
type
- relationship typedirection
- expanding direction
Expander remove(RelationshipType type)
RelationshipType
from the Expander
.
type
- relationship type
Expander addNodeFilter(Predicate<? super Node> filter)
Node
filter.
filter
- filter to use
Expander addRelationsipFilter(Predicate<? super Relationship> filter)
addRelationshipFilter(Predicate)
instead
Relationship
filter.
filter
- filter to use
Expander addRelationshipFilter(Predicate<? super Relationship> filter)
Relationship
filter.
filter
- filter to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |