Hi Sonex
All windows under the same key (e.g., TimeWindow(0, 3600) and TimeWindow(3600, 
7200)) will be processed by the flatmap function. You can put the variable 
drawn from TimeWindow(0, 3600) into a State. When you receive TimeWindow(3600, 
7200), you can access the state and apply the function with the obtained 
variable.
Regards,Xiaogang
------------------------------------------------------------------发件人:Sonex 
<kls.yan...@gmail.com>发送时间:2017年2月20日(星期一) 19:54收件人:user 
<user@flink.apache.org>主 题:Re: 回复:Transfer information from one window to the 
next
I don`t think you understood the question correctly. I do not care about
information between windows at the same time (i.e., start of window = 0, end
of window 3600). I want to pass a variable, let`s say for key 1, from the
apply function of window 0-3600 to the apply function of window 3600-7200,
for key 1.



--
View this message in context: 
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Transfer-information-from-one-window-to-the-next-tp11738p11739.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at 
Nabble.com.

Reply via email to