I am trying to apply a list of patterns on Patternstream in CEP i tried something attaching code below i am new to Flink, i am not sure whether this is a stupid approach or