示例#1
0
        public override AstNode VisitStackedTableSpoolAlgebraNode(StackedTableSpoolAlgebraNode node)
        {
            TableSpoolIterator tableSpoolIterator = new TableSpoolIterator();

            tableSpoolIterators.Add(node, tableSpoolIterator);

            tableSpoolIterator.RowBuffer   = new object[node.OutputList.Length];
            tableSpoolIterator.Input       = ConvertAlgebraNode(node.Input);
            tableSpoolIterator.InputOutput = GetIteratorOutput(0, node.Input.OutputList, node.OutputList);
            SetLastIterator(node, tableSpoolIterator);

            return(node);
        }
示例#2
0
		public override AstNode VisitStackedTableSpoolAlgebraNode(StackedTableSpoolAlgebraNode node)
		{
			TableSpoolIterator tableSpoolIterator = new TableSpoolIterator();
			tableSpoolIterators.Add(node, tableSpoolIterator);

			tableSpoolIterator.RowBuffer = new object[node.OutputList.Length];
			tableSpoolIterator.Input = ConvertAlgebraNode(node.Input);
			tableSpoolIterator.InputOutput = GetIteratorOutput(0, node.Input.OutputList, node.OutputList);
			SetLastIterator(node, tableSpoolIterator);

			return node;
		}