@Deprecated public class CompareExpression extends AbstractFilterExpression
Constructor and Description |
---|
CompareExpression(String label,
String property,
String operator,
Object value)
Deprecated.
Constructs a new comparison expression.
|
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 CompareExpression(String label, String property, String operator, Object value)
label
- the PatternNode
label.property
- property key.operator
- operator, f.ex. >= or < or =value
- value to compare against.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.