docs: void setUpIndexesAndTypes() {
  
          vectorIndex = 0;
  
          if (eventTimingString.equals(Tokens.T_INSERT)) {
              vectorIndex            = Trigger.INSERT_AFTER;
              operationPrivilegeType = GrantConstants.INSERT;
          } else if (eventTimingString.equals(Tokens.T_DELETE)) {
              operationPrivilegeType = GrantConstants.DELETE;
              vectorIndex            = Trigger.DELETE_AFTER;
          } else if (eventTimingString.equals(Tokens.T_UPDATE)) {
              operationPrivilegeType = GrantConstants.UPDATE;
              vectorIndex            = Trigger.UPDATE_AFTER;
          } else {
              throw Error.runtimeError(ErrorCode.U_S0500, "TriggerDef");
          }
  
          if (actionTimingString.equals(Tokens.T_BEFORE)
                  || actionTimingString.equals(Tokens.T_INSERT)) {
              vectorIndex += NUM_TRIGGER_OPS;    // number of operations
          }
  
          triggerType = vectorIndex;
  
          if (forEachRow) {
              triggerType += 2 * NUM_TRIGGER_OPS;
          }
      }