Class BooleanValuedFunctionWrapper
java.lang.Object
org.graylog.plugins.pipelineprocessor.ast.expressions.BaseExpression
org.graylog.plugins.pipelineprocessor.ast.expressions.BooleanValuedFunctionWrapper
- All Implemented Interfaces:
Expression,LogicalExpression
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graylog.plugins.pipelineprocessor.ast.expressions.Expression
Expression.Type -
Constructor Summary
ConstructorsConstructorDescriptionBooleanValuedFunctionWrapper(org.antlr.v4.runtime.Token start, Expression expr) -
Method Summary
Modifier and TypeMethodDescriptionchildren()booleanevaluateBool(EvaluationContext context) evaluateUnsafe(EvaluationContext context) This method is allowed to throw exceptions.getType()booleantoString()Methods 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
evaluate, evaluateUnsafe, getStartToken, nodeType
-
Constructor Details
-
BooleanValuedFunctionWrapper
-
-
Method Details
-
evaluateBool
- Specified by:
evaluateBoolin interfaceLogicalExpression
-
isConstant
public boolean isConstant()- Specified by:
isConstantin interfaceExpression
-
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
-
expression
-
toString
-
children
- Specified by:
childrenin interfaceExpression
-