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 ; }
Fetches the RollupInterval corresponding to the rollup or pre - agg table name .