@Override
  public int execute() throws HiveException {
    Set<String> funcs = fetchFunctions();
    return printFunctions(funcs);
  }
Operation process of showing the functions.
ql/src/java/org/apache/hadoop/hive/ql/ddl/function/show/ShowFunctionsOperation.java