Class EqualityExpression
java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.expressions.BaseExpression
org.graylog.plugins.pipelineprocessor.ast.expressions.UnaryExpression
org.graylog.plugins.pipelineprocessor.ast.expressions.BinaryExpression
org.graylog.plugins.pipelineprocessor.ast.expressions.EqualityExpression
- All Implemented Interfaces:
Expression,LogicalExpression
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graylog.plugins.pipelineprocessor.ast.expressions.Expression
Expression.Type -
Field Summary
Fields inherited from class org.graylog.plugins.pipelineprocessor.ast.expressions.BinaryExpression
leftFields inherited from class org.graylog.plugins.pipelineprocessor.ast.expressions.UnaryExpression
right -
Constructor Summary
ConstructorsConstructorDescriptionEqualityExpression(org.antlr.v4.runtime.Token start, Expression left, Expression right, boolean checkEquality) -
Method Summary
Modifier and TypeMethodDescriptionbooleanevaluateBool(EvaluationContext context) evaluateUnsafe(EvaluationContext context) This method is allowed to throw exceptions.getType()booleantoString()Methods inherited from class org.graylog.plugins.pipelineprocessor.ast.expressions.BinaryExpression
children, isConstant, left, leftMethods inherited from class org.graylog.plugins.pipelineprocessor.ast.expressions.UnaryExpression
right, rightMethods inherited from class org.graylog.plugins.pipelineprocessor.ast.expressions.BaseExpression
getStartTokenMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.graylog.plugins.pipelineprocessor.ast.expressions.Expression
children, evaluate, evaluateUnsafe, getStartToken, isConstant, nodeType
-
Constructor Details
-
EqualityExpression
public EqualityExpression(org.antlr.v4.runtime.Token start, Expression left, Expression right, boolean checkEquality)
-
-
Method Details
-
evaluateUnsafe
Description copied from interface:ExpressionThis method is allowed to throw exceptions. The outside world is supposed to call evaluate instead.- Specified by:
evaluateUnsafein interfaceExpression
-
getType
- Specified by:
getTypein interfaceExpression- Overrides:
getTypein classUnaryExpression
-
evaluateBool
- Specified by:
evaluateBoolin interfaceLogicalExpression
-
isCheckEquality
public boolean isCheckEquality() -
toString
-