public List<QueryInfo> getHistoricalQueryInfos() {
    return queryInfoCache
        .map(cache -> cache.getHistoricalQueryInfos())
        .orElse(Collections.emptyList());
  }
@return displays representing a number of historical SQLOperations, at max number of
hive.server2.webui.max.historic.queries. Newest items will be first.
service/src/java/org/apache/hive/service/cli/operation/OperationManager.java