Class RelationalOperator

java.lang.Object
io.micronaut.expressions.parser.ast.ExpressionNode
io.micronaut.expressions.parser.ast.operator.binary.RelationalOperator

@Internal public final class RelationalOperator extends ExpressionNode
Abstract expression AST node for relational operations. Relational operations can be applied to numeric types or types that are Comparable to each other. It is unclear at AST building stage what kind of relational operation will be performed, so this node does not directly include bytecode generation logic. At type resolution stage it instantiates either NumericComparisonOperation or ComparablesComparisonOperation and delegates bytecode generation to respective node instance.
Since:
4.0.0
Author:
Sergey Gavrilov