protected override IStream <AggregationResult <TIn, TKey, TAggrRes> > CreateOutputStream(AggregateArgs <TIn, TAggrRes, TKey> args) { return(CreateUnsortedStream( args.InputStream.Observable.Aggregate( args.CreateEmptyAggregation, args.GetKey, args.Aggregate, (i, k, a) => new AggregationResult <TIn, TKey, TAggrRes> { Aggregation = a, FirstValue = i, Key = k }))); }
public AggregateStreamNode(string name, AggregateArgs <TIn, TAggrRes, TKey> args) : base(name, args) { }