Re: WindowedStream vs AllWindowedStream

2016-04-28 Thread Aljoscha Krettek
They are different classes because the signature of their apply method is different. If one were the subclass, it would be possible to call apply with the wrong signature. On Thu, 28 Apr 2016 at 12:25 Radu Prodan wrote: > Hi all, > > I have question about the differences

WindowedStream vs AllWindowedStream

2016-04-28 Thread Radu Prodan
Hi all, I have question about the differences between WindowedStream and AllWindowedStream. From the definition I see that WindowedStream are partitioned based on key but for AllWindowedStream this is not the case. So, what comes to my mind is, why WindowedStream is not the special case of