|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RelationshipType | |
---|---|
org.neo4j.graphdb | The graph database API used by Neo4j. |
org.neo4j.graphdb.traversal | Traversal framework. |
org.neo4j.kernel | Implementation for embedding a Neo4j graph database in an application. |
Uses of RelationshipType in org.neo4j.graphdb |
---|
Classes in org.neo4j.graphdb that implement RelationshipType | |
---|---|
class |
DynamicRelationshipType
A dynamically instantiated and named RelationshipType . |
Methods in org.neo4j.graphdb that return RelationshipType | |
---|---|
RelationshipType |
Relationship.getType()
Returns the type of this relationship. |
Methods in org.neo4j.graphdb that return types with arguments of type RelationshipType | |
---|---|
Iterable<RelationshipType> |
GraphDatabaseService.getRelationshipTypes()
Returns all relationship types currently in the underlying store. |
Methods in org.neo4j.graphdb with parameters of type RelationshipType | |
---|---|
Expander |
Expander.add(RelationshipType type)
Add a RelationshipType to the Expander . |
Expander |
Expander.add(RelationshipType type,
Direction direction)
Add a RelationshipType with a Direction to the
Expander . |
Relationship |
Node.createRelationshipTo(Node otherNode,
RelationshipType type)
Creates a relationship between this node and another 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. |
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(RelationshipType... types)
Returns true if there are any relationships of any of the
types in types attached to this node (regardless of
direction), 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. |
boolean |
Relationship.isType(RelationshipType type)
Indicates whether this relationship is of the type type . |
Expander |
Expander.remove(RelationshipType type)
Remove a RelationshipType from the Expander . |
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. |
Uses of RelationshipType in org.neo4j.graphdb.traversal |
---|
Methods in org.neo4j.graphdb.traversal with parameters of type RelationshipType | |
---|---|
TraversalDescription |
TraversalDescription.relationships(RelationshipType type)
Adds type to the list of relationship types to traverse. |
TraversalDescription |
TraversalDescription.relationships(RelationshipType type,
Direction direction)
Adds type to the list of relationship types to traverse in
the given direction . |
Uses of RelationshipType in org.neo4j.kernel |
---|
Methods in org.neo4j.kernel that return types with arguments of type RelationshipType | |
---|---|
Iterable<RelationshipType> |
EmbeddedGraphDatabase.getRelationshipTypes()
|
Iterable<RelationshipType> |
EmbeddedReadOnlyGraphDatabase.getRelationshipTypes()
|
Methods in org.neo4j.kernel with parameters of type RelationshipType | |
---|---|
StandardExpander |
StandardExpander.add(RelationshipType type)
|
abstract StandardExpander |
StandardExpander.add(RelationshipType type,
Direction direction)
|
static Expander |
Traversal.expanderForTypes(RelationshipType type)
Creates a new RelationshipExpander which is set to expand
relationships with type in any direction. |
static Expander |
Traversal.expanderForTypes(RelationshipType type,
Direction dir)
Creates a new RelationshipExpander which is set to expand
relationships with type and direction . |
static Expander |
Traversal.expanderForTypes(RelationshipType type1,
Direction dir1,
RelationshipType type2,
Direction dir2)
Creates a new RelationshipExpander which is set to expand
relationships with two different types and directions. |
static Expander |
Traversal.expanderForTypes(RelationshipType type1,
Direction dir1,
RelationshipType type2,
Direction dir2,
Object... more)
Creates a new RelationshipExpander which is set to expand
relationships with multiple types and directions. |
abstract StandardExpander |
StandardExpander.remove(RelationshipType type)
|
static Predicate<Path> |
Traversal.returnWhereLastRelationshipTypeIs(RelationshipType firstRelationshipType,
RelationshipType... relationshipTypes)
|
static Predicate<Path> |
Traversal.returnWhereLastRelationshipTypeIs(RelationshipType firstRelationshipType,
RelationshipType... relationshipTypes)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |