public SummarizeOperator(string summarize) { scalarSummarizer = ParseExpressionKusto(summarize) as ScalarSummarizer; ParseGroupings(); _aggregations = new DimensionIndex <IDictionary <string, object> >(); }
private void Flush() { int itemCounter = 0; foreach (var cell in _aggregations.GetAllCells()) { itemCounter++; _subject.OnNext(cell.Value); } _aggregations = new DimensionIndex <IDictionary <string, object> >(); // Calculate Next Flush Target _flushTarget = _flushTarget.AddTicks(_duration.Ticks); }