Example #1
0
        private static NullScanAlgebraNode CreateNullScan(RowBufferEntry[] outputList)
        {
            NullScanAlgebraNode result = new NullScanAlgebraNode();

            result.OutputList = outputList;
            return(result);
        }
Example #2
0
		public override AstElement Clone(Dictionary<AstElement, AstElement> alreadyClonedElements)
		{
			NullScanAlgebraNode result = new NullScanAlgebraNode();
			result.StatisticsIterator = StatisticsIterator;
			result.OutputList = ArrayHelpers.Clone(OutputList);
			return result;
		}
Example #3
0
        public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
        {
            foreach (RowBufferEntry entry in node.OutputList)
                NameEntry(entry, EXPRESSION_NAME_FMT_STR);

            return node;
        }
Example #4
0
        public override AstElement Clone(Dictionary <AstElement, AstElement> alreadyClonedElements)
        {
            NullScanAlgebraNode result = new NullScanAlgebraNode();

            result.StatisticsIterator = StatisticsIterator;
            result.OutputList         = ArrayHelpers.Clone(OutputList);
            return(result);
        }
        public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
        {
            foreach (RowBufferEntry entry in node.OutputList)
            {
                NameEntry(entry, EXPRESSION_NAME_FMT_STR);
            }

            return(node);
        }
Example #6
0
        public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
        {
            PropertyListBuilder propertyListBuilder = new PropertyListBuilder();

            propertyListBuilder.Write(Resources.ShowPlanKeyEmpty, Boolean.TrueString);
            AddRowBufferEntries(propertyListBuilder, Resources.ShowPlanGroupOutputList, node.OutputList);
            AddStatistics(propertyListBuilder, node.StatisticsIterator);

            IList <ShowPlanProperty> properties = propertyListBuilder.ToList();

            ShowPlanElement element = new ShowPlanElement(ShowPlanOperator.ConstantScan, properties);

            _currentElement = element;

            return(node);
        }
Example #7
0
		public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
		{
			NullIterator nullIterator = new NullIterator();
			nullIterator.RowBuffer = new object[node.OutputList.Length];
			SetLastIterator(node, nullIterator);

			return node;
		}
Example #8
0
		private static NullScanAlgebraNode CreateNullScan(RowBufferEntry[] outputList)
		{
			NullScanAlgebraNode result = new NullScanAlgebraNode();
			result.OutputList = outputList;
			return result;
		}
 public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
 {
     node.OutputList = RemovedUnneededRowBufferColumns(node.OutputList);
     return(base.VisitNullScanAlgebraNode(node));
 }
Example #10
0
 public virtual AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
 {
     return(node);
 }
Example #11
0
		public virtual AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
		{
			return node;
		}
Example #12
0
 public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
 {
     node.OutputList = new RowBufferEntry[0];
     return(node);
 }
Example #13
0
 public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
 {
     node.OutputList = new RowBufferEntry[0];
     return node;
 }
Example #14
0
        public override AlgebraNode VisitNullScanAlgebraNode(NullScanAlgebraNode node)
        {
            PropertyListBuilder propertyListBuilder = new PropertyListBuilder();
            propertyListBuilder.Write(Resources.ShowPlanKeyEmpty, Boolean.TrueString);
            AddRowBufferEntries(propertyListBuilder, Resources.ShowPlanGroupOutputList, node.OutputList);
            AddStatistics(propertyListBuilder, node.StatisticsIterator);

            IList<ShowPlanProperty> properties = propertyListBuilder.ToList();

            ShowPlanElement element = new ShowPlanElement(ShowPlanOperator.ConstantScan, properties);
            _currentElement = element;

            return node;
        }