private void ensureTable(String dbName, String tableName) {
        ensureDb(dbName);
        Map<String, Set<LinkedHashMap<String, String>>> tables = entities.get(dbName);

        Set<LinkedHashMap<String, String>> partitions = tables.get(tableName);
        if (partitions == null) {
          partitions = new HashSet<>();
          tables.put(tableName, partitions);
        }
      }
Lets callers specify what entities are requested to be evicted, and builds a Request instance accordingly.
ql/src/java/org/apache/hadoop/hive/llap/ProactiveEviction.java