|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.graphmatching.AbstractPatternObject<Relationship>
org.neo4j.graphmatching.PatternRelationship
@Deprecated public class PatternRelationship
Represents a pattern for matching a Relationship.
| Method Summary | |
|---|---|
Direction |
getDirectionFrom(PatternNode fromNode)
Deprecated. Get the direction in which relationships are discovered using this relationship pattern from the specified node. |
PatternNode |
getFirstNode()
Deprecated. Get the first pattern node that this pattern relationship relates. |
PatternNode |
getOtherNode(PatternNode node)
Deprecated. Get the PatternNode that this pattern relationship relates, that
is not the specified node. |
PatternNode |
getSecondNode()
Deprecated. Get the second pattern node that this pattern relationship relates. |
RelationshipType |
getType()
Deprecated. Get the RelationshipType a relationship must have in order to
match this pattern relationship. |
boolean |
isOptional()
Deprecated. Does this pattern relationship represent a relationship that has to exist in the subgraph to consider the subgraph a match of the pattern, or is it an optional relationship. |
String |
toString()
Deprecated. |
| Methods inherited from class org.neo4j.graphmatching.AbstractPatternObject |
|---|
addPropertyConstraint, getAssociation, getLabel, getPropertyConstraints, setAssociation, setLabel |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public PatternNode getOtherNode(PatternNode node)
PatternNode that this pattern relationship relates, that
is not the specified node.
node - one of the PatternNodes this pattern relationship
relates.
public PatternNode getFirstNode()
public PatternNode getSecondNode()
public boolean isOptional()
true if this pattern relationship represents an
optional relationship, false if it represents a
required relationship.public RelationshipType getType()
RelationshipType a relationship must have in order to
match this pattern relationship. Will return null if a
relationship with any RelationshipType will match.
RelationshipType of this relationship pattern.public Direction getDirectionFrom(PatternNode fromNode)
outgoing, incoming,
or both.
fromNode - the pattern node to find the direction of this pattern
relationship from.
public String toString()
toString in class Object
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||