dear user of spark

I've got a program, streaming a folder, when a new file is created in this
folder, I count a word, which appears in this document and update it (I
used StatefulNetworkWordCount to do it). And it work like charm. However, I
would like to know the different of top 10 word at now and at time (one
hour before). How could I do it? I try to use windowDuration, but it seem
not work.

Reply via email to