public final Aggregation_timeContext aggregation_time() throws RecognitionException { Aggregation_timeContext _localctx = new Aggregation_timeContext(_ctx, getState()); enterRule(_localctx, 48, RULE_aggregation_time); try { setState(533); switch ( getInterpreter().adaptivePredict(_input,33,_ctx) ) { case 1: enterOuterAlt(_localctx, 1); { setState(531); aggregation_time_range(); } break; case 2: enterOuterAlt(_localctx, 2); { setState(532); aggregation_time_interval(); } break; } } catch (RecognitionException re) { _localctx.exception = re; _errHandler.reportError(this, re); _errHandler.recover(this, re); } finally { exitRule(); } return _localctx; }