Esempio n. 1
0
		private void SetLastIterator(AlgebraNode owner, Iterator iterator)
		{
			if (_includeStatistics && owner.StatisticsIterator == null)
			{
				owner.StatisticsIterator = new StatisticsIterator();
				owner.StatisticsIterator.RowBuffer = iterator.RowBuffer;
				owner.StatisticsIterator.Input = iterator;
				iterator = owner.StatisticsIterator;
			}

			_lastIterator = iterator;
		}
Esempio n. 2
0
		private Iterator GetLastIterator()
		{
			Iterator result = _lastIterator;
			_lastIterator = null;
			return result;
		}