public Set<String> getResourceSet(SessionState.ResourceType t) {
    Set<String> result = resource_map.get(t);
    if (result == null) {
      result = new HashSet<String>();
      resource_map.put(t, result);
    }
    return result;
  }
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