flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HungChang <unicorn.bana...@gmail.com>
Subject The way to itearte instances in AllWindowFunction in current Master branch
Date Thu, 25 Feb 2016 10:16:56 GMT

I would like to iterate all the instances in windows (count the events in
the windows and show the time range of windows).

in 0.10.2 there is AllWindowFunction that can be used to iterate tuples.
public interface AllWindowFunction<IN, OUT, W extends Window> extends
Function, Serializable {
    void apply(W var1, Iterable<IN> var2, Collector<OUT> var3) throws

In the current master branch AllWindowFunction now it's not able to iterate. 

Can I ask what would be current the way to iterate the instances in windows?
I saw there are ReduceAllWindowFunction and ReduceIterableAllWindowFunction
but they are @internal.



View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/The-way-to-itearte-instances-in-AllWindowFunction-in-current-Master-branch-tp5137.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.

View raw message