Using put() instead of addData does yield the desired results. Good call!

As an extension to this code, suppose I also want to include a price in
addition to the instrument.

Currently each stream to the put is of the form [AffinityUuid, symbol] and I
can easily do the count in a query as above. How would you go about
including an additional column? For instance, I envision something like
[AffinityUuid, symbol, price]. 

If this is possible, please let me know what you think. 





--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Question-regarding-possible-use-case-of-Sliding-Windows-tp530p560.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to