singleRowFunctions.put(functionName.toLowerCase(), new EngineImportSingleRowDesc(singleRowFuncClass, methodName, valueCache, filterOptimizable, rethrowExceptions));
}
public AggregationSupport resolveAggregation(String name) throws EngineImportException, EngineImportUndefinedException
{
ConfigurationPlugInAggregationFunction desc = aggregationFunctions.get(name);
if (desc == null)
{
desc = aggregationFunctions.get(name.toLowerCase());
}
if (desc == null || desc.getFunctionClassName() == null)
{
throw new EngineImportUndefinedException("A function named '" + name + "' is not defined");
}
String className = desc.getFunctionClassName();
Class clazz;
try
{
ClassLoader cl = Thread.currentThread().getContextClassLoader();
clazz = Class.forName(className, true, cl);