@Override
  public List<Record> getRecords(ClusterMetrics clusterMetrics,
    List<RecordFilter> pushDownFilters) {
    // Get records from RegionModeStrategy and add REGION_COUNT field
    List<Record> records = regionModeStrategy.selectModeFieldsAndAddCountField(fieldInfos,
      regionModeStrategy.getRecords(clusterMetrics, pushDownFilters), Field.REGION_COUNT);

    // Aggregation by NAMESPACE field and TABLE field
    return records.stream().collect(Collectors.groupingBy(r -> {
      String namespace = r.get(Field.NAMESPACE).asString();
      String table = r.get(Field.TABLE).asString();
      return TableName.valueOf(namespace, table);
    })).entrySet().stream()
      .flatMap(
        e -> e.getValue().stream().reduce(Record::combine).map(Stream::of).orElse(Stream.empty()))
      .collect(Collectors.toList());
  }
Implementation for {@link ModeStrategy} for Table Mode.
hbase-hbtop/src/main/java/org/apache/hadoop/hbase/hbtop/mode/TableModeStrategy.java