@Deprecated public class PatternMatch extends Object
PatternMatcher. The match is
itself a graph which looks like the pattern fed to the PatternMatcher| Modifier and Type | Method and Description |
|---|---|
Iterable<PatternElement> |
getElements()
Deprecated.
Get the matched elements in this match.
|
org.neo4j.graphdb.Node |
getNodeFor(PatternNode node)
Deprecated.
|
org.neo4j.graphdb.Relationship |
getRelationshipFor(PatternRelationship rel)
Deprecated.
|
static PatternMatch |
merge(Iterable<PatternMatch> matches)
Deprecated.
Used to merge two matches.
|
static PatternMatch |
merge(PatternMatch... matches)
Deprecated.
Used to merge matches.
|
public org.neo4j.graphdb.Node getNodeFor(PatternNode node)
node - the PatternNode to get the Node for.Node for this particular match, represented
by node in the patternpublic org.neo4j.graphdb.Relationship getRelationshipFor(PatternRelationship rel)
rel - the PatternRelationship to get the
Relationship for.Relationship for this particular match,
represented by rel in the patternpublic Iterable<PatternElement> getElements()
public static PatternMatch merge(Iterable<PatternMatch> matches)
matches - the matches to merge together.public static PatternMatch merge(PatternMatch... matches)
matches - the matches to merge together.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.