anchor.diff:                      operationType = "DESTROY";
                       break;
                   default:
  -                    Console.WriteLine("Unexpected operation encountered {0}", ev.getQueryOperation());
                       break;
               }
   
  -            if (val != null)
  -            {
  -                Console.WriteLine("MyCqListener::OnEvent({0}) called with key {1}, value {2}", operationType, key, val.ToString());
  -            }
  -            else
  -            {
  -                Console.WriteLine("MyCqListener::OnEvent({0}) called with key {1}, value null", operationType, key);
  -            }
   	...
   
   	/* Take action based on OP Type */
  
positive.code: -   **Active query execution**. Once initialized, the queries operate only on new events, rather than on the entire region data set. 
  Events that change the query result are sent to the client immediately.
  
  ## <a id="typical_cq_lifecycle"></a>Typical CQ Lifecycle
  
  1.  The client creates the CQ. This sets up everything for running the query and provides the client with a `CqQuery` object, but does not execute the CQ. At this point, the query is in a `STOPPED `state, ready to be closed or run.
  2.  The client runs the CQ with an API call to one of the `CqQuery execute*` methods. This puts the query into a `RUNNING` state on the client and on the server.
  1.  The CqListener fields events and takes action accordingly. Events are not result sets. If the action requires doing something with the data, the data must first be retrieved.
  3.  The CQ is closed by a client call to `CqQuery.close`. This de-allocates all resources in use for the CQ on the client and server. At this point, the cycle could begin again with the creation of a new `CqQuery` instance.
  
  ### <a id="ExecutingACQ"></a>Executing a Continuous Query from the Client
  
  The essential steps to create and execute a continuous query are:
  
  
negative.code:     ```
      query->execute();
  
      ... (respond to events as they arrive)
  
      query->stop();
      query->close();
  