looking for a value in indexed or collection property using Esper

StackOverflow https://stackoverflow.com/questions/23293510

  •  09-07-2023
  •  | 
  •  

Вопрос

I have an event which has indexed property ids (List ). How to write query which matches a value in ids ?

class MyEvent
{
    private List<Integer> allIds;
    getters/setters
}
Это было полезно?

Решение

Have a look at the enumeration method such as "allIds.where(v => v = 5)"

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top