@Test public void assertGetAggregationType() { AggregationType actual = distinctQueryMetaData.getAggregationType(2); assertThat(actual, is(AggregationType.AVG)); }
public AggregationType getAggregationType(final int distinctColumnIndex) { return aggregationDistinctColumnIndexAndAggregationTypes.get(distinctColumnIndex); }
AggregationDistinctQueryMetaData { public AggregationType getAggregationType(final int distinctColumnIndex) { return aggregationDistinctColumnIndexAndAggregationTypes.get(distinctColumnIndex); } }
AggregationDistinctQueryMetaData { public AggregationType getAggregationType(final int distinctColumnIndex) { return aggregationDistinctColumnIndexAndAggregationTypes.get(distinctColumnIndex); } AggregationDistinctQueryMetaData(final Collection<AggregationDistinctSelectItem> aggregationDistinctSelectItems, final QueryResultMetaData queryResultMetaData); }
AggregationDistinctQueryMetaData { public AggregationType getAggregationType(final int distinctColumnIndex) { return aggregationDistinctColumnIndexAndAggregationTypes.get(distinctColumnIndex); } 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); }
AggregationDistinctQueryMetaData { public AggregationType getAggregationType(final int distinctColumnIndex) { return aggregationDistinctColumnIndexAndAggregationTypes.get(distinctColumnIndex); } 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);  }