Exemplo n.º 1
0
        public SummarizeOperator(string summarize)
        {
            scalarSummarizer = ParseExpressionKusto(summarize) as ScalarSummarizer;
            ParseGroupings();

            _aggregations = new DimensionIndex <IDictionary <string, object> >();
        }
Exemplo n.º 2
0
        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);
        }