|
Neo4j Community | |||||||||
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 same RelationshipType s, but
with all directions reversed (see Direction.reverse() ). |
Methods inherited from interface org.neo4j.graphdb.RelationshipExpander |
---|
expand |
Method Detail |
---|
Expander reversed()
RelationshipExpander
RelationshipType
s, but
with all directions reversed (see Direction.reverse()
).
reversed
in interface RelationshipExpander
RelationshipExpander
with the same types, but with
reversed directions.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
|
Neo4j Community | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |