public EngineImportSingleRowDesc(String className, String methodName, ValueCache valueCache, FilterOptimizable filterOptimizable, bool rethrowExceptions) { ClassName = className; MethodName = methodName; ValueCache = valueCache; FilterOptimizable = filterOptimizable; RethrowExceptions = rethrowExceptions; }
public void AddSingleRow( String functionName, String singleRowFuncClass, String methodName, ValueCache valueCache, FilterOptimizable filterOptimizable, bool rethrowExceptions) { ValidateFunctionName("single-row", functionName); if (!IsTypeNameOrNamespace(singleRowFuncClass)) { throw new EngineImportException("Invalid class name for aggregation '" + singleRowFuncClass + "'"); } _singleRowFunctions.Put( functionName.ToLower(), new EngineImportSingleRowDesc( singleRowFuncClass, methodName, valueCache, filterOptimizable, rethrowExceptions)); }
public void AddPlugInSingleRowFunction(String functionName, String className, String methodName, ValueCache valueCache, FilterOptimizable filterOptimizable, bool rethrowExceptions) { InternalAddPlugInSingleRowFunction(functionName, className, methodName, valueCache, filterOptimizable, rethrowExceptions); }
private void InternalAddPlugInSingleRowFunction(String functionName, String className, String methodName, ValueCache valueCache, FilterOptimizable filterOptimizable, bool rethrowExceptions) { try { _engineImportService.AddSingleRow( functionName, className, methodName, valueCache, filterOptimizable, rethrowExceptions); } catch (EngineImportException e) { throw new ConfigurationException(e.Message, e); } }
public void AddPlugInSingleRowFunction(String functionName, String className, String methodName, FilterOptimizable filterOptimizable) { InternalAddPlugInSingleRowFunction( functionName, className, methodName, ValueCache.DISABLED, filterOptimizable, false); }