public Set<String> getTables() {
    return coll.stream().map(d -> d.getTable()).collect(Collectors.toSet());
  }
DatasetCollection: utility wrapper class for a set of datasets
itests/util/src/main/java/org/apache/hadoop/hive/ql/dataset/DatasetCollection.java