@Override
  public boolean equals(final Object other) {
    if (other == null || !(other instanceof ExecutionTrigger)) {
      return false;
    }

    if (other == this) {
      return true;
    }

    ExecutionTrigger otherQR = (ExecutionTrigger) other;
    return Objects.equals(name, otherQR.name) &&
      Objects.equals(expression, otherQR.expression) &&
      Objects.equals(action, otherQR.action);
  }
Trigger with query level scope that contains a name, trigger expression violating which defined action will be
executed.
ql/src/java/org/apache/hadoop/hive/ql/wm/ExecutionTrigger.java