public AstDerivedColumnListNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            OutputPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Output", SsisName = OutputSsisName
            };
            ErrorPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Error", SsisName = ErrorSsisName
            };

            OutputPath.DefineSymbol();
            ErrorPath.DefineSymbol();

            PreferredOutputPath = OutputPath;

            StaticOutputPaths.Add(OutputPath);
            StaticOutputPaths.Add(ErrorPath);

            foreach (var column in Columns)
            {
                if (!column.ReplaceExisting)
                {
                    DefinedColumns.Add(new AstTransformationColumnNode(this)
                    {
                        ColumnName = column.Name
                    });
                }
            }
        }
Example #2
0
        public AstLookupNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            MatchPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Match", SsisName = MatchSsisName
            };
            NoMatchPath = new AstDataflowOutputPathNode(this)
            {
                Name = "NoMatch", SsisName = NoMatchSsisName
            };
            ErrorPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Error", SsisName = ErrorSsisName
            };

            MatchPath.DefineSymbol();
            NoMatchPath.DefineSymbol();
            ErrorPath.DefineSymbol();

            PreferredOutputPath = MatchPath;

            StaticOutputPaths.Add(MatchPath);
            StaticOutputPaths.Add(NoMatchPath);
            StaticOutputPaths.Add(ErrorPath);

            foreach (var column in Outputs)
            {
                DefinedColumns.Add(new AstTransformationColumnNode(this)
                {
                    ColumnName = column.LocalColumnName
                });
            }
        }
Example #3
0
        public AstOleDBCommandNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            OutputPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Output", SsisName = OutputSsisName
            };
            ErrorPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Error", SsisName = ErrorSsisName
            };

            OutputPath.DefineSymbol();
            ErrorPath.DefineSymbol();

            PreferredOutputPath = OutputPath;

            StaticOutputPaths.Add(OutputPath);
            StaticOutputPaths.Add(ErrorPath);

            // TODO: Results?
            ////foreach (var column in Mappings)
            ////{
            ////    DefinedColumns.Add(new AstTransformationColumnNode(this) { ColumnName = column.DestinationName });
            ////}
        }
Example #4
0
        public AstSortNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            OutputPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Output", SsisName = OutputSsisName
            };
            OutputPath.DefineSymbol();

            PreferredOutputPath = OutputPath;

            StaticOutputPaths.Add(OutputPath);
        }
        public AstSlowlyChangingDimensionNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            UnchangedPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Unchanged", SsisName = UnchangedSsisName
            };
            NewPath = new AstDataflowOutputPathNode(this)
            {
                Name = "New", SsisName = NewSsisName
            };
            FixedAttributePath = new AstDataflowOutputPathNode(this)
            {
                Name = "FixedAttribute", SsisName = FixedAttributeSsisName
            };
            ChangingAttributePath = new AstDataflowOutputPathNode(this)
            {
                Name = "ChangingAttribute", SsisName = ChangingAttributeSsisName
            };
            HistoricalAttributePath = new AstDataflowOutputPathNode(this)
            {
                Name = "HistoricalAttribute", SsisName = HistoricalAttributeSsisName
            };
            InferredMemberPath = new AstDataflowOutputPathNode(this)
            {
                Name = "InferredMember", SsisName = InferredMemberSsisName
            };

            UnchangedPath.DefineSymbol();
            NewPath.DefineSymbol();
            FixedAttributePath.DefineSymbol();
            ChangingAttributePath.DefineSymbol();
            HistoricalAttributePath.DefineSymbol();
            InferredMemberPath.DefineSymbol();

            StaticOutputPaths.Add(UnchangedPath);
            StaticOutputPaths.Add(NewPath);
            StaticOutputPaths.Add(FixedAttributePath);
            StaticOutputPaths.Add(ChangingAttributePath);
            StaticOutputPaths.Add(HistoricalAttributePath);
            StaticOutputPaths.Add(InferredMemberPath);
        }
Example #6
0
        public AstConditionalSplitNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            ErrorPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Error", SsisName = ErrorSsisName
            };

            ErrorPath.DefineSymbol();

            DefaultOutputPath = new AstDataflowOutputPathNode(this)
            {
                Name = "DefaultOutput", SsisName = "DefaultOutput"
            };

            PreferredOutputPath = DefaultOutputPath;

            StaticOutputPaths.Add(ErrorPath);
        }
Example #7
0
        public AstLateArrivingLookupNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            OutputPath = new AstDataflowOutputPathNode(this)
            {
                Name = "Output", SsisName = OutputSsisName
            };

            OutputPath.DefineSymbol();

            PreferredOutputPath = OutputPath;

            StaticOutputPaths.Add(OutputPath);

            foreach (var column in Outputs)
            {
                DefinedColumns.Add(new AstTransformationColumnNode(this)
                {
                    ColumnName = column.LocalColumnName
                });
            }
        }