flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Hueske <fhue...@gmail.com>
Subject Re: Count Different Codes in a Window
Date Mon, 24 Jul 2017 19:00:59 GMT
Hi Raj,

You can use ReduceFunction in combination with a WindowFunction [1].

Best, Fabian

[1]
https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/windows.html#windowfunction-with-incremental-aggregation

2017-07-24 20:31 GMT+02:00 Raj Kumar <smallthings1992@gmail.com>:

> Thanks Fabian. That helped.
>
> But I want to access the window start time. AFAIK, reduce can not give this
> details as it doesn't have timewindow object passed to the reduce method.
> How can I achieve this ?
>
>
>
> --
> View this message in context: http://apache-flink-user-
> mailing-list-archive.2336050.n4.nabble.com/Count-Different-
> Codes-in-a-Window-tp14391p14414.html
> Sent from the Apache Flink User Mailing List archive. mailing list archive
> at Nabble.com.
>

Mime
View raw message