public Map<Object, Object> getQueryCache(String queryId) {
    QueryState qs = getQueryState(queryId);
    if (qs == null) {
      return null;
    }
    return qs.getHMSCache();
  }
Retrieves the query cache for the given query.
@param queryId the unique identifier of the query
@return the cache for the query
ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java