Flink-CEP use of hashCode and equals

233 Views Asked by At

Does Flink-CEP use hashCode() and equals() for comparison if the pattern definition only has attribute level comparisons?

I'm asking because I can't guarantee hashCode() correctness.

1

There are 1 best solutions below

0
On

In my opinion, Flink uses Equals() and hashcode() to while comparing events. I always create these methods in IntelliJ by pressing command + N and then selection equals and hashcode methods.