public bool RemoveAggFunction(byte[] name, int nargs) { var k = new FuncName(name, nargs); if (agg.TryRemove(k, out var h_old)) { h_old.Dispose(); return(true); } else { return(false); } }
public void AddAggFunction(byte[] name, int nargs, IDisposable d) { var k = new FuncName(name, nargs); agg[k] = d; }
public void AddScalarFunction(byte[] name, int nargs, IDisposable d) { var k = new FuncName(name, nargs); scalar[k] = d; }