Interface EntityQueryFunctionHandler
- All Known Implementing Classes:
EntityQueryAuthenticationFunctions,EntityQueryDateFunctions
public interface EntityQueryFunctionHandler
Handler API for defining and executing an function in an
EntityQuery.- Since:
- 2.0.0
- Author:
- Arne Vandamme
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanDoes this handler accept a function with the given name and support the desired result type.apply(String functionName, EQType[] arguments, org.springframework.core.convert.TypeDescriptor desiredType, EQTypeConverter argumentConverter) Apply the function and return the value in the .
-
Method Details
-
accepts
Does this handler accept a function with the given name and support the desired result type.- Parameters:
functionName- name of the function calldesiredType- of the result- Returns:
- true if handler can execute the requested function
-
apply
Object apply(String functionName, EQType[] arguments, org.springframework.core.convert.TypeDescriptor desiredType, EQTypeConverter argumentConverter) Apply the function and return the value in the .- Parameters:
functionName- name of the function being executed.arguments- for the functiondesiredType- for the outputargumentConverter- to be used for argument conversion- Returns:
- evaluation result
-