public static QueryMeta checkAndPromoteToTimeSeries(QueryMeta qMeta) {
        if (qMeta instanceof GroupByQueryMeta) {
             if (((GroupByQueryMeta)qMeta).fetchDimensions == null) {
                return TimeSeriesQueryMeta.promote(qMeta);
             }
        }
        return qMeta;
    }
public static QueryMeta checkAndPromoteToTimeSeries ( QueryMeta qMeta ) { if ( qMeta instanceof GroupByQueryMeta ) { if ( ( ( GroupByQueryMeta ) qMeta ) . fetchDimensions == null ) { return TimeSeriesQueryMeta . promote ( qMeta ) ; } } return qMeta ; }
Every query starts with GroupBy. Call this method after GROUP BY clause.
@param qMeta
@return