Beispiel #1
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
                });
            }
        }
        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
                    });
                }
            }
        }
        public AstEtlFragmentReferenceNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

            foreach (var column in Outputs)
            {
                DefinedColumns.Add(new AstTransformationColumnNode(this)
                {
                    ColumnName = column.DestinationPathColumnName
                });
            }
        }
Beispiel #4
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
                });
            }
        }