code: public RollupInterval getRollupIntervalForTable(final String table) {
      if (table == null || table.isEmpty()) {
        throw new IllegalArgumentException("The table name cannot be null or empty");
      }
      final RollupInterval rollup = reverse_intervals.get(table);
      if (rollup == null) {
        throw new NoSuchRollupForTableException(table);
      }
      return rollup;
    }
docs: Fetches the RollupInterval corresponding to the rollup or pre-agg table
  name.
  @param table The name of the table to fetch
  @return The RollupInterval object matching the table
  @throws IllegalArgumentException if the table is null or empty
  @throws NoSuchRollupForTableException if the interval was not configured
  for the given table