Class MultiplicationExpression
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.MultiplicationExpression
- All Implemented Interfaces:
Expression,NumericExpression
-
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
ConstructorsConstructorDescriptionMultiplicationExpression(org.antlr.v4.runtime.Token start, Expression left, Expression right, char operator) -
Method Summary
Modifier and TypeMethodDescriptiondoubleevaluateDouble(EvaluationContext context) longevaluateLong(EvaluationContext context) evaluateUnsafe(EvaluationContext context) This method is allowed to throw exceptions.chargetType()booleanvoidtoString()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
-
MultiplicationExpression
public MultiplicationExpression(org.antlr.v4.runtime.Token start, Expression left, Expression right, char operator)
-
-
Method Details
-
isIntegral
public boolean isIntegral()- Specified by:
isIntegralin interfaceNumericExpression
-
evaluateLong
- Specified by:
evaluateLongin interfaceNumericExpression
-
evaluateDouble
- Specified by:
evaluateDoublein interfaceNumericExpression
-
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
-
getOperator
public char getOperator() -
getType
- Specified by:
getTypein interfaceExpression- Overrides:
getTypein classUnaryExpression
-
setType
-
toString
-