Gideon created GEODE-5091: ----------------------------- Summary: Context-Specific Arguments for Function Execution API Key: GEODE-5091 URL: https://issues.apache.org/jira/browse/GEODE-5091 Project: Geode Issue Type: New Feature Components: functions Reporter: Gideon
There is no documented/official way to pass context (or filter) specific arguments into a Function Execution. Users work-around this by creating custom "filter" objects that double as both filters and arguments, but we should support this capability in an obvious, official, and documented way. Something like the following would do the job: Execution execWithFilterSpecificArgs = setFilteredArguments ( Map <?, IN> ); I'm not sure whether or not it is worth adding a new generic to distinguish between our current "global" input argument type and a filter-specific input argument type. Since we have to explicitly map the arguments to specific filters, there would be no need to separately invoke withFilter(), although there should be no harm in doing so first so long as the "?" filter collection is the same in both invocations. -- This message was sent by Atlassian JIRA (v7.6.3#76005)