Example #1
0
 protected override IStream <Correlated <IEnumerable <TIn> > > CreateOutputStream(ChunkCorrelatedArgs <TIn> args)
 {
     return(base.CreateUnsortedStream(args.InputStream.Observable.Chunk(args.ChunkSize).Map(i => new Correlated <IEnumerable <TIn> >
     {
         CorrelationKeys = i.SelectMany(j => j.CorrelationKeys).ToHashSet(),
         Row = i.Select(j => j.Row).ToList()
     })));
 }
Example #2
0
 public ChunkCorrelatedStreamNode(string name, ChunkCorrelatedArgs <TIn> args) : base(name, args)
 {
 }