|
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. |
StandardExpander |
addRelationsipFilter(Predicate<? super Relationship> filter)
Add a Relationship filter. |
org.neo4j.kernel.Expansion<Relationship> |
expand(Node start)
Returns relationships for a node in whatever way the implementation likes. |
abstract StandardExpander |
remove(RelationshipType type)
Remove a RelationshipType from the Expander. |
abstract StandardExpander |
reversed()
Returns a new instance with the exact same RelationshipTypes, but
with all directions reversed (see Direction.reverse()). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, 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 start)
RelationshipExpander
expand in interface RelationshipExpanderstart - the node to expand.
node.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 reversed()
RelationshipExpanderRelationshipTypes, but
with all directions reversed (see Direction.reverse()).
reversed in interface Expanderreversed in interface RelationshipExpanderRelationshipExpander with the same types, but with
reversed directions.public StandardExpander addNodeFilter(Predicate<? super Node> filter)
ExpanderNode filter.
addNodeFilter in interface Expanderfilter - filter to use
public StandardExpander addRelationshipFilter(Predicate<? super Relationship> filter)
ExpanderRelationship filter.
addRelationshipFilter in interface Expanderfilter - filter to use
public StandardExpander addRelationsipFilter(Predicate<? super Relationship> filter)
ExpanderRelationship filter.
addRelationsipFilter in interface Expanderfilter - filter to use
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||