@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.
|
Node |
getNodeFor(PatternNode node)
Deprecated.
|
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 Node getNodeFor(PatternNode node)
node
- the PatternNode
to get the Node
for.Node
for this particular match, represented
by node
in the patternpublic 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–2014 The Neo4j Graph Database Project. All rights reserved.