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() }))); }
public ChunkCorrelatedStreamNode(string name, ChunkCorrelatedArgs <TIn> args) : base(name, args) { }