String functionName,
LazyAllocatedMap<ConfigurationPlugInAggregationMultiFunction, PlugInAggregationMultiFunctionFactory> plugInAggregations,
String engineURI) {
try
{
AggregationFunctionFactory aggregationFactory = engineImportService.resolveAggregationFactory(functionName);
return new ExprPlugInAggFunctionFactoryNode(distinct, aggregationFactory, functionName);
}
catch (EngineImportUndefinedException e)
{
// Not an aggregation function