/** * Return a view of the available intervals. * * @return The widest set of intervals that the table can report on */ default SimplifiedIntervalList getAvailableIntervals() { // By default union all available columns return getAllAvailableIntervals().values().stream() .reduce(SimplifiedIntervalList::union) .orElse(new SimplifiedIntervalList()); }
Map<Column, SimplifiedIntervalList> columnCache = table.getAllAvailableIntervals(); Set<Map<String, Object>> dimensionsResult = new LinkedHashSet<>(); Set<Map<String, Object>> metricsResult = new LinkedHashSet<>();