code: void onEvent(EventLog log, EventType eventType)
      {
  
          switch (eventType)
          {
          case INSERT:
  
              onInsert(log);
              break;
  
          case UPDATE:
              onUpdate(log);
              break;
  
          case DELETE:
              onDelete(log);
              break;
  
          default:
  
              throw new KunderaException("Invalid event type:" + eventType);
          }
  
      }
docs: On event.
  
  @param log
  the log
  @param eventType
  the event type