AggregationDistinctQueryMetaData { public boolean isAggregationDistinctColumnIndex(final int columnIndex) { return aggregationDistinctColumnIndexAndLabels.keySet().contains(columnIndex); } AggregationDistinctQueryMetaData(final Collection<AggregationDistinctSelectItem> aggregationDistinctSelectItems, final QueryResultMetaData queryResultMetaData); boolean isAggregationDistinctColumnIndex(final int columnIndex); boolean isAggregationDistinctColumnLabel(final String columnLabel); AggregationType getAggregationType(final int distinctColumnIndex); boolean isDerivedCountColumnIndex(final int columnIndex); boolean isDerivedSumColumnIndex(final int columnIndex); int getAggregationDistinctColumnIndex(final int derivedSumIndex); int getAggregationDistinctColumnIndex(final String distinctColumnLabel); String getAggregationDistinctColumnLabel(final int distinctColumnIndex);  }
@Test public void assertIsAggregationDistinctColumnIndex() { assertTrue(distinctQueryMetaData.isAggregationDistinctColumnIndex(1)); }