public IKGroupedStream <K, V> GroupByKey(string named = null) { return(new KGroupedStream <K, V>( this.nameNode, Grouped <K, V> .Create(named, this.keySerdes, this.valueSerdes), this.setSourceNodes, this.node, builder)); }
public IKGroupedStream <K, V> GroupByKey <KS, VS>(string named = null) where KS : ISerDes <K>, new() where VS : ISerDes <V>, new() { return(new KGroupedStream <K, V>( this.nameNode, Grouped <K, V> .Create <KS, VS>(named), this.setSourceNodes, this.node, builder)); }
public IKGroupedStream <KR, V> GroupBy <KR, KS>(IKeyValueMapper <K, V, KR> keySelector, string named = null) where KS : ISerDes <KR>, new() => DoGroup(keySelector, Grouped <KR, V> .Create <KS>(named, valueSerdes));
public IKGroupedStream <KR, V> GroupBy <KR>(IKeyValueMapper <K, V, KR> keySelector, string named = null) => DoGroup(keySelector, Grouped <KR, V> .Create(named, null, valueSerdes));