|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Relationship in org.neo4j.api.core |
---|
Methods in org.neo4j.api.core that return Relationship | |
---|---|
Relationship |
Node.createRelationshipTo(Node otherNode,
RelationshipType type)
Creates a relationship between this node and another node. |
Relationship |
EmbeddedNeo.getRelationshipById(long id)
|
Relationship |
NeoService.getRelationshipById(long id)
Looks up a relationship by id. |
Relationship |
EmbeddedReadOnlyNeo.getRelationshipById(long id)
|
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 . |
Relationship |
TraversalPosition.lastRelationshipTraversed()
Return the last relationship traversed, may be null. |
Methods in org.neo4j.api.core that return types with arguments of type Relationship | |
---|---|
Iterable<Relationship> |
Node.getRelationships()
Returns all the relationships attached to this node. |
Iterable<Relationship> |
Node.getRelationships(Direction dir)
Returns all OUTGOING or INCOMING relationships from this node. |
Iterable<Relationship> |
Node.getRelationships(RelationshipType... types)
Returns all the relationships of any of the types in types
that are attached to this node, regardless of direction. |
Iterable<Relationship> |
Node.getRelationships(RelationshipType type,
Direction dir)
Returns all relationships with the given type and direction that are attached to this node. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |