class DataQueryParams {

    private DataQueryParams retainDataDimensionReportingRates( ReportingRateMetric metric )
    {
        DimensionalObject dimension = getDimensionOrFilter( DATA_X_DIM_ID );

        List<ReportingRate> items = DimensionalObjectUtils.asTypedList(
            AnalyticsUtils.getByDataDimensionItemType( DataDimensionItemType.REPORTING_RATE, dimension.getItems() ) );

        items = items.stream().filter( r -> metric == r.getMetric() ).collect( Collectors.toList() );

        dimension.getItems().clear();
        dimension.getItems().addAll( items );

        return this;
    }

    protected  DataQueryParams();

}