i have a question regarding Esper in java. Imagine that i have events with two elements for each event : money, name.
What I want to do is to output 3 different names that have the most money. Is there any way of doing this ?
example of events:
100,adrien-10,john-15,sam-20,sosa-36,nicolas
---> i would like to output: adrien,nicolas and sosa in this case. I'm able to output only the one with the max(amount), but not a certain number of names (in my case 3).
Thanks for your help