Uses of Class org.neo4j.api.core.Direction (Neo 1.0-b6 API)

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.neo4j.api.core.Direction

Uses of Direction in org.neo4j.api.core

Methods in org.neo4j.api.core that return Direction
`Direction` | `Direction.reverse()` Reverses the direction returning `INCOMING` if this equals `OUTGOING`, `OUTGOING` if this equals `INCOMING` or `BOTH` if this equals `BOTH`.
`static Direction` | `Direction.valueOf(String name)` Returns the enum constant of this type with the specified name.
`static Direction[]` | `Direction.values()` Returns an array containing the constants of this enum type, in the order they're declared.

Methods in org.neo4j.api.core with parameters of type Direction
`Iterable<Relationship>` | `Node.getRelationships(Direction dir)` Returns all `OUTGOING` or `INCOMING` relationships from this node.
`Iterable<Relationship>` | `Node.getRelationships(RelationshipType type, Direction dir)` Returns all relationships with the given type and direction that are attached to this node.
`Relationship` | `Node.getSingleRelationship(RelationshipType type, Direction dir)` Returns the only relationship of a given type and direction that is attached to this node, or `null`.
`boolean` | `Node.hasRelationship(Direction dir)` Returns `true` if there are any relationships in the given direction attached to this node, `false` otherwise.
`boolean` | `Node.hasRelationship(RelationshipType type, Direction dir)` Returns `true` if there are any relationships of the given relationship type and direction attached to this node, `false` otherwise.
`Traverser` | `Node.traverse(Traverser.Order traversalOrder, StopEvaluator stopEvaluator, ReturnableEvaluator returnableEvaluator, RelationshipType relationshipType, Direction direction)` Instantiates a traverser that will start at this node and traverse according to the given order and evaluators along the specified relationship type and direction.
`Traverser` | `Node.traverse(Traverser.Order traversalOrder, StopEvaluator stopEvaluator, ReturnableEvaluator returnableEvaluator, RelationshipType firstRelationshipType, Direction firstDirection, RelationshipType secondRelationshipType, Direction secondDirection)` Instantiates a traverser that will start at this node and traverse according to the given order and evaluators along the two specified relationship type and direction pairs.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2007 Neo4j. All Rights Reserved.