public class ComparisonExpression extends BinaryExpression implements LogicalExpression
Expression.Typeleftright| Constructor and Description |
|---|
ComparisonExpression(org.antlr.v4.runtime.Token start,
Expression left,
Expression right,
String operator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluateBool(EvaluationContext context) |
Object |
evaluateUnsafe(EvaluationContext context)
This method is allowed to throw exceptions.
|
String |
getOperator() |
Class |
getType() |
String |
toString() |
children, isConstant, left, leftright, rightgetStartTokenclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchildren, evaluate, evaluateUnsafe, getStartToken, isConstant, nodeTypepublic ComparisonExpression(org.antlr.v4.runtime.Token start,
Expression left,
Expression right,
String operator)
public Object evaluateUnsafe(EvaluationContext context)
ExpressionevaluateUnsafe in interface Expressionpublic Class getType()
getType in interface ExpressiongetType in class UnaryExpressionpublic boolean evaluateBool(EvaluationContext context)
evaluateBool in interface LogicalExpressionpublic String getOperator()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.