flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aljoscha Krettek <aljos...@apache.org>
Subject Re: WindowedStream vs AllWindowedStream
Date Thu, 28 Apr 2016 11:22:43 GMT
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 <raduprodan6@gmail.com> wrote:

> 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 AllWindowedStream? or why those classes are completely separated, and
> not extending from one another?
> Radu

View raw message