public Map<SessionState.ResourceType, Set<String>> getResourceMap() {
    return resource_map;
  }
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