Ejemplo n.º 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
                });
            }
        }
Ejemplo n.º 2
0
        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
                    });
                }
            }
        }
Ejemplo n.º 3
0
        public AstEtlFragmentReferenceNode(IFrameworkItem parentAstNode) : base(parentAstNode)
        {
            InitializeAstNode();

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