public class ScanRecognizerRelationalBinaryExpr extends DefaultRelationalBinaryExpr implements RelationalBinaryExpr
RelationalBinaryExpr implementation which uses a specific
evaluation context to evaluate the value(s) of
a data graph property along the query property traversal path within the
context of a binary expression (syntax) tree.ScanRecognizerContext| Modifier and Type | Field and Description |
|---|---|
protected StoreMappingContext |
mappingContext |
protected ScanLiteral |
scanLiteral |
literal, operator, property, propertyPath| Constructor and Description |
|---|
ScanRecognizerRelationalBinaryExpr(org.plasma.query.model.Property property,
org.plasma.query.model.Literal literal,
org.plasma.query.model.RelationalOperator operator,
StoreMappingContext mappingContext)
Constructs an expression based on the given terms.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(EvaluationContext context)
Returns a "truth" value for the expression using a specific evaluation
context by ... |
getLiteral, getOperator, getProperty, getPropertyPath, toStringaccept, createPropertyPath, getLeft, getRight, setLeft, setRightclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLiteral, getOperator, getProperty, getPropertyPathaccept, getLeft, getRightprotected ScanLiteral scanLiteral
protected StoreMappingContext mappingContext
public ScanRecognizerRelationalBinaryExpr(org.plasma.query.model.Property property,
org.plasma.query.model.Literal literal,
org.plasma.query.model.RelationalOperator operator,
StoreMappingContext mappingContext)
property - the "left" property termliteral - the "right" literal termoperator - the relational operatorLocalEdgeRecognizerContextpublic boolean evaluate(EvaluationContext context)
context by ... within the binary expression
tree.evaluate in interface Exprevaluate in class DefaultRelationalBinaryExprcontext - ScanRecognizerContextCopyright © 2021. All Rights Reserved.