@Override
  public void processEvents(CacheEvent<?, ?> event, Profile localProfile, Profile[] profiles,
      FilterRoutingInfo frInfo) throws CqException {
    // Is this a region event or an entry event
    if (event instanceof RegionEvent) {
      processRegionEvent(event, localProfile, profiles, frInfo);
    } else {
      // Use the PDX types in serialized form.
      Boolean initialPdxReadSerialized = cache.getPdxReadSerializedOverride();
      cache.setPdxReadSerializedOverride(true);
      try {
        processEntryEvent(event, localProfile, profiles, frInfo);
      } finally {
        cache.setPdxReadSerializedOverride(initialPdxReadSerialized);
      }
    }
  }
Returns the Operation for the given EnumListenerEvent type.
geode-cq/src/main/java/org/apache/geode/cache/query/cq/internal/CqServiceImpl.java