org.datanucleus.query.evaluator.memory
Interface InvocationEvaluator

All Known Implementing Classes:
AbsFunctionEvaluator, CoalesceFunctionEvaluator, CollectionContainsMethodEvaluator, ConcatFunctionEvaluator, ContainerIsEmptyMethodEvaluator, ContainerSizeMethodEvaluator, CurrentDateFunctionEvaluator, CurrentTimeFunctionEvaluator, CurrentTimestampFunctionEvaluator, DateGetDayMethodEvaluator, DateGetHoursMethodEvaluator, DateGetMinutesMethodEvaluator, DateGetMonthMethodEvaluator, DateGetSecondsMethodEvaluator, DateGetTimeMethodEvaluator, DateGetYearMethodEvaluator, EnumMatchesMethodEvaluator, EnumOrdinalMethodEvaluator, EnumToStringMethodEvaluator, GetClassMethodEvaluator, JDOHelperGetObjectIdFunctionEvaluator, JDOHelperGetVersionFunctionEvaluator, LengthFunctionEvaluator, ListGetMethodEvaluator, LocateFunctionEvaluator, LowerFunctionEvaluator, MapContainsKeyMethodEvaluator, MapContainsValueMethodEvaluator, MapGetMethodEvaluator, ModFunctionEvaluator, NullIfFunctionEvaluator, SizeFunctionEvaluator, SqrtFunctionEvaluator, StringEndsWithMethodEvaluator, StringIndexOfMethodEvaluator, StringLengthMethodEvaluator, StringMatchesMethodEvaluator, StringStartsWithMethodEvaluator, StringSubstringMethodEvaluator, StringToLowerCaseMethodEvaluator, StringToUpperCaseMethodEvaluator, StringTrimLeftMethodEvaluator, StringTrimMethodEvaluator, StringTrimRightMethodEvaluator, SubstringFunctionEvaluator, TrimFunctionEvaluator, UpperFunctionEvaluator

public interface InvocationEvaluator

Interface representing an evaluator for an invocation of a method/function.


Method Summary
 java.lang.Object evaluate(InvokeExpression expr, java.lang.Object invokedValue, InMemoryExpressionEvaluator eval)
          Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.
 

Method Detail

evaluate

java.lang.Object evaluate(InvokeExpression expr,
                          java.lang.Object invokedValue,
                          InMemoryExpressionEvaluator eval)
Method to evaluate the InvokeExpression, as part of the overall evaluation defined by the InMemoryExpressionEvaluator.

Parameters:
expr - The expression for invocation
invokedValue - Value on which we are invoking
eval - The overall evaluator for in-memory
Returns:
The result


Copyright © 2011. All Rights Reserved.