コード例 #1
0
ファイル: SelectStreamNode.cs プロジェクト: Inna2289/Etl.Net
        protected override IStream <TOut> CreateOutputStream(SelectWithIndexArgs <TIn, TOut> args)
        {
            IPushObservable <TOut> obs = args.Stream.Observable.Map(WrapSelectIndexForDisposal <TIn, TOut>(args.Processor.ProcessRow));

            if (args.ExcludeNull)
            {
                obs = obs.Filter(i => i != null);
            }
            return(base.CreateUnsortedStream(obs));
        }
コード例 #2
0
        protected override IStream <TOut> CreateOutputStream(SelectWithIndexArgs <TIn, TOut> args)
        {
            IPushObservable <TOut> obs = args.Stream.Observable.Map(WrapSelectIndexForDisposal <TIn, TOut>(args.Processor.ProcessRow, args.WithNoDispose));

            return(base.CreateUnsortedStream(obs));
        }
コード例 #3
0
 public SelectWithIndexStreamNode(string name, SelectWithIndexArgs <TIn, TOut> args) : base(name, args)
 {
 }