|
||||||||||
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 RelationshipType s, 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 RelationshipExpander
start
- the node to expand.
node
.public final String toString()
toString
in class Object
public final StandardExpander add(RelationshipType type)
Expander
RelationshipType
to the Expander
.
add
in interface Expander
type
- relationship type
public abstract StandardExpander add(RelationshipType type, Direction direction)
Expander
RelationshipType
with a Direction
to the
Expander
.
add
in interface Expander
type
- relationship typedirection
- expanding direction
public abstract StandardExpander remove(RelationshipType type)
Expander
RelationshipType
from the Expander
.
remove
in interface Expander
type
- relationship type
public abstract StandardExpander reversed()
RelationshipExpander
RelationshipType
s, but
with all directions reversed (see Direction.reverse()
).
reversed
in interface Expander
reversed
in interface RelationshipExpander
RelationshipExpander
with the same types, but with
reversed directions.public StandardExpander addNodeFilter(Predicate<? super Node> filter)
Expander
Node
filter.
addNodeFilter
in interface Expander
filter
- filter to use
public StandardExpander addRelationshipFilter(Predicate<? super Relationship> filter)
Expander
Relationship
filter.
addRelationshipFilter
in interface Expander
filter
- filter to use
public StandardExpander addRelationsipFilter(Predicate<? super Relationship> filter)
Expander
Relationship
filter.
addRelationsipFilter
in interface Expander
filter
- filter to use
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |