void runAfterExecutionHook(String command, HookContext hookContext, boolean executionError) {
    List<QueryLifeTimeHook> queryHooks = hooks.getHooks(QUERY_LIFETIME_HOOKS);
    if (!queryHooks.isEmpty()) {
      QueryLifeTimeHookContext qhc = new QueryLifeTimeHookContextImpl.Builder().withHiveConf(conf).withCommand(command)
          .withHookContext(hookContext).build();

      for (QueryLifeTimeHook hook : queryHooks) {
        hook.afterExecution(qhc, executionError);
      }
    }
  }
Dispatches {@link QueryLifeTimeHook#afterExecution(QueryLifeTimeHookContext, boolean)}.

@param command the Hive command that is being run
@param hookContext the {@link HookContext} of the command being run
@param executionError true if there was an error while executing the command, false otherwise
ql/src/java/org/apache/hadoop/hive/ql/HookRunner.java