1

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.

rbinnun
  • 1,169
  • 2
  • 10
  • 18

1 Answers1

0

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.

Amarjit Dhillon
  • 2,718
  • 3
  • 23
  • 62