Class RoundFunction
java.lang.Object
org.datanucleus.store.query.inmemory.method.RoundFunction
- All Implemented Interfaces:
InvocationEvaluator
Evaluator for the function ROUND(numExpr, numExpr2).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate
(InvokeExpression expr, Object ignored, InMemoryExpressionEvaluator eval) Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.protected Object
getValueForArgExpression
(Expression argExpr, InMemoryExpressionEvaluator eval)
-
Constructor Details
-
RoundFunction
public RoundFunction()
-
-
Method Details
-
evaluate
Description copied from interface:InvocationEvaluator
Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.- Specified by:
evaluate
in interfaceInvocationEvaluator
- Parameters:
expr
- The expression for invocationignored
- Value on which we are invokingeval
- The overall evaluator for in-memory- Returns:
- The result
-
getValueForArgExpression
-