@Deprecated public class RegexPattern extends AbstractFilterExpression
Constructor and Description |
---|
RegexPattern(String label,
String property,
String pattern,
String options)
Deprecated.
Constructs a new regex pattern for filtering.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(FilterValueGetter valueGetter)
Deprecated.
Matches a value from a
valueGetter and returns whether or not
there was a match. |
getLabel, getProperty
public RegexPattern(String label, String property, String pattern, String options)
label
- the PatternNode
label.property
- the property key to filter in.pattern
- the pattern which the value should match.options
- options for regex matching.public boolean matches(FilterValueGetter valueGetter)
FilterExpression
valueGetter
and returns whether or not
there was a match.valueGetter
- the getter which fetches the value to match.valueGetter
matches
the criterias found in this expression.Copyright © 2002–2014 The Neo4j Graph Database Project. All rights reserved.