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

## Uses of Interface
org.neo4j.graphdb.Relationship

Packages that use Relationship
org.neo4j.graphalgo | Scalable graph algorithms like shortest path and others for Neo4j which can be easily accessed via `GraphAlgoFactory`.
org.neo4j.graphdb | The graph database API used by Neo4j.
org.neo4j.graphdb.event | Event framework.
org.neo4j.graphdb.index | Integrated API for node and relationship indexing.
org.neo4j.graphdb.traversal | Traversal framework.
org.neo4j.graphmatching | Facilities for finding occurrences of patterns in a Neo4j graph.
org.neo4j.kernel | Implementation for embedding a Neo4j graph database in an application.

Uses of Relationship in org.neo4j.graphalgo

Methods in org.neo4j.graphalgo with parameters of type Relationship
`T` | `CostEvaluator.getCost(Relationship relationship, Direction direction)` This is the general method for looking up costs for relationships.

Uses of Relationship in org.neo4j.graphdb

Methods in org.neo4j.graphdb that return Relationship
`Relationship` | `Node.createRelationshipTo(Node otherNode, RelationshipType type)` Creates a relationship between this node and another node.
`Relationship` | `GraphDatabaseService.getRelationshipById(long id)` Looks up a relationship by 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` | `Path.lastRelationship()` Returns the last `Relationship` in this path.
`Relationship` | `TraversalPosition.lastRelationshipTraversed()` Return the last relationship traversed.

Methods in org.neo4j.graphdb that return types with arguments of type Relationship
`Iterable<Relationship>` | `RelationshipExpander.expand(Node node)` Returns relationships for a node in whatever way the implementation likes.
`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(Direction direction, RelationshipType... types)` Returns all the relationships of any of the types in `types` that are attached to this node and have the given `direction`.
`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.
`Iterable<Relationship>` | `Path.relationships()` Returns all the relationships in between the nodes which this path consists of.

Method parameters in org.neo4j.graphdb with type arguments of type Relationship
`Expander` | `Expander.addRelationshipFilter(Predicate<? super Relationship> filter)` Add a `Relationship` filter.
`Expander` | `Expander.addRelationsipFilter(Predicate<? super Relationship> filter)` Deprecated. because of typo, use `Expander.addRelationshipFilter(Predicate)` instead

Uses of Relationship in org.neo4j.graphdb.event

Methods in org.neo4j.graphdb.event that return types with arguments of type Relationship
`Iterable<PropertyEntry<Relationship>>` | `TransactionData.assignedRelationshipProperties()` Get the properties that had a value assigned on a relationship during the transaction.
`Iterable<Relationship>` | `TransactionData.createdRelationships()` Get the relationships that were created during the transaction.
`Iterable<Relationship>` | `TransactionData.deletedRelationships()` Get the relationships that were deleted during the transaction.
`Iterable<PropertyEntry<Relationship>>` | `TransactionData.removedRelationshipProperties()` Get the properties that had a value removed from a relationship during the transaction.

Methods in org.neo4j.graphdb.event with parameters of type Relationship
`boolean` | `TransactionData.isDeleted(Relationship relationship)` Returns whether or not `relationship` is deleted in this transaction.

Uses of Relationship in org.neo4j.graphdb.index

Methods in org.neo4j.graphdb.index that return types with arguments of type Relationship
`IndexHits<Relationship>` | `ReadableRelationshipIndex.get(String key, Object valueOrNull, Node startNodeOrNull, Node endNodeOrNull)` Returns exact matches from this index, given the key/value pair.
`IndexHits<Relationship>` | `ReadableRelationshipIndex.query(Object queryOrQueryObjectOrNull, Node startNodeOrNull, Node endNodeOrNull)` Returns matches from this index based on the supplied query object, which can be a query string or an implementation-specific query object.
`IndexHits<Relationship>` | `ReadableRelationshipIndex.query(String key, Object queryOrQueryObjectOrNull, Node startNodeOrNull, Node endNodeOrNull)` Returns matches from this index based on the supplied `key` and query object, which can be a query string or an implementation-specific query object.

Uses of Relationship in org.neo4j.graphdb.traversal

Methods in org.neo4j.graphdb.traversal that return Relationship
`Relationship` | `TraversalBranch.relationship()` The relationship for this expansion source.

Methods in org.neo4j.graphdb.traversal that return types with arguments of type Relationship
`Iterable<Relationship>` | `Traverser.relationships()` Represents the traversal in the form of `Relationship`s.

Uses of Relationship in org.neo4j.graphmatching

Methods in org.neo4j.graphmatching that return Relationship
`Relationship` | `PatternElement.getFromRelationship()` Returns the `Relationship` traversed to get to the `Node` returned from `PatternElement.getNode()`.
`Relationship` | `PatternMatch.getRelationshipFor(PatternRelationship rel)`

Uses of Relationship in org.neo4j.kernel

Methods in org.neo4j.kernel that return Relationship
`Relationship` | `EmbeddedGraphDatabase.getRelationshipById(long id)`
`Relationship` | `EmbeddedReadOnlyGraphDatabase.getRelationshipById(long id)`

Methods in org.neo4j.kernel that return types with arguments of type Relationship
`org.neo4j.kernel.Expansion<Relationship>` | `StandardExpander.expand(Node start)`

Methods in org.neo4j.kernel with parameters of type Relationship
`String` | `Traversal.DefaultPathDescriptor.relationshipRepresentation(Path path, Node from, Relationship relationship)`
`String` | `Traversal.PathDescriptor.relationshipRepresentation(T path, Node from, Relationship relationship)` Returns a string representation of a `Relationship`.

Method parameters in org.neo4j.kernel with type arguments of type Relationship
`StandardExpander` | `StandardExpander.addRelationshipFilter(Predicate<? super Relationship> filter)`
`StandardExpander` | `StandardExpander.addRelationsipFilter(Predicate<? super Relationship> filter)`

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

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.