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.
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.
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.