[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ProcessWindowFunction

Hi yuanjun,

There are very few examples of ProcessWindowFunction, but there are some implementations for testing in Flink's source code for your reference.[1]


Thanks, vino.

苗元君 <miaoyuanjun@xxxxxxxxx> 于2018年8月9日周四 上午10:11写道:
I read the doc about ProcessWindowFunction
But I the code on the flink demo is incorrect

public class MyProcessWindowFunction extends ProcessWindowFunction<Tuple<String, Long>, String, String, TimeWindow> {
Tuple cannot have to parameter.
I try to find a demo which ProcessWindowFunction used in window word count demo,
I can not even find a complete correct demo with ProcessWindowFunction.

Can any one show me how to use ProcessWindowFunction in wordcount window function with .process(ProcessWindowFunction) ?


Yuanjun Miao

( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-flink-users/msg11248.html on line 70
Call Stack
10.0007372744{main}( ).../msg11248.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-flink-users/msg11248.html on line 70
Call Stack
10.0007372744{main}( ).../msg11248.html:0