![]() | Syntax |
---|---|
EqualityTermAST ::= RelationalTermAST | EqualityTermAST == RelationalTermAST | EqualityTermAST != RelationalTermAST RelationalTermAST ::= ArithmeticTermAST | RelationalTermAST RelationalOpAST ArithmeticTermAST RelationalOpAST ::= < | > | <= | >= A base logical term can be the following:
A relational expressionis a relation between two
arithmetic terms; the relational operator can be equality operators
(like equal, |
![]() | Semantics | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A graph pattern call results
Relational operators are interpreted between data types according to
Table 2.4, “Equal (
Equality (and !=) can be tested for any kinds of operands,
but the other relations are limited. Semantically the less than and
greater than relations are the usual (Java) ones for the
Table 2.4. Equal (
Table 2.5. Other relational inequality operators (
|
![]() | Warning |
---|---|
Note that the evaluation rules of relational operators changed in the new release to be compliant with its use in Java. |
Remark. There is no implicit type casting on the input of the operands except between Integers and Doubles; conversion operators have to be used if casting is required.
Defined In: conjuntive logical term