org.neo4j.graphmatching
Interface ValueMatcher
public interface ValueMatcher
An interface which abstracts value matching. Examples of value matchers would be:
exact matchi, regex match a.s.o. Also look at CommonValueMatchers
.
Method Summary |
boolean |
matches(Object value)
Tries to match value to see if it matches an expected value. |
matches
boolean matches(Object value)
- Tries to match
value
to see if it matches an expected value.
value
is null
if the property wasn't found on the
Node
or Relationship
it came from.
The value can be of type array, where ArrayPropertyUtil
can be of
help.
- Parameters:
value
- the value from a Node
or Relationship
to
match against an expected value.
- Returns:
true
if the value matches, else false
.
Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.