|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neo4j.graphmatching.CommonValueMatchers
@Deprecated public abstract class CommonValueMatchers
This class contain factory methods for some common ValueMatchers.
| Method Summary | |
|---|---|
static ValueMatcher |
exact(Object valueToMatch)
Deprecated. Checks for equality between a value and valueToMatch. |
static ValueMatcher |
exactAny(Object valueToMatch)
Deprecated. Checks for equality between a value and valueToMatch. |
static ValueMatcher |
exactAnyOf(Object... anyOfTheseToMatch)
Deprecated. Checks for equality between a value and any one of anyOfTheseToMatch. |
static ValueMatcher |
has()
Deprecated. Checks that the property exists. |
static ValueMatcher |
regex(Pattern pattern)
Deprecated. Checks that the String property matches the specified regular
expression pattern. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ValueMatcher exact(Object valueToMatch)
valueToMatch. Returns
true if the value isn't null and is equal to
valueToMatch, else false.
valueToMatch - the expected value.
valueToMatch.public static ValueMatcher exactAny(Object valueToMatch)
valueToMatch.
If the value is an array each item in the array is matched against
valueToMatch and if any of those matches it's considered
a match.
valueToMatch - the expected value.
valueToMatch.public static ValueMatcher exactAnyOf(Object... anyOfTheseToMatch)
anyOfTheseToMatch. If the value is an array each item in
the array is matched against any one of valueToMatch and if
any of those matches it's considered a match.
anyOfTheseToMatch - the expected value.
anyOfTheseToMatch.public static ValueMatcher has()
public static ValueMatcher regex(Pattern pattern)
String property matches the specified regular
expression pattern.
pattern - the regular expression pattern to match the property with.
|
Neo4j Community | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||