private Iterator BuildTableSpoolPusher(BoundTableSpoolPusher relation)
        {
            var stack = new TableSpoolStack(relation.Input.GetOutputValues().Count());

            _tableSpoolStack.Push(stack);
            var input = BuildRelation(relation.Input);

            _tableSpoolStack.Pop();

            return(new TableSpoolIterator(input, stack));
        }
 public TableSpoolIterator(Iterator input, TableSpoolStack tableSpoolStack)
 {
     _input           = input;
     _tableSpoolStack = tableSpoolStack;
 }
Exemple #3
0
 public TableSpoolRefIterator(TableSpoolStack tableSpoolStack)
 {
     _tableSpoolStack = tableSpoolStack;
     _rowBuffer       = new IndirectedRowBuffer(_tableSpoolStack.RowBufferCount);
 }