class AggregationDistinctQueryResult extends DistinctQueryResult {

    @Override
    public String getColumnLabel(final int columnIndex) throws SQLException {
        if (metaData.isAggregationDistinctColumnIndex(columnIndex)) {
            return metaData.getAggregationDistinctColumnLabel(columnIndex);
        }
        String columnLabel = getQueryResultMetaData().getColumnLabel(columnIndex);
        if (null != columnLabel) {
            return columnLabel;
        }
        throw new SQLException("Column index out of range", "9999");
    }

    private  AggregationDistinctQueryResult(final QueryResultMetaData queryResultMetaData, final Iterator<QueryRow> resultData, final AggregationDistinctQueryMetaData distinctQueryMetaData);
    public  AggregationDistinctQueryResult(final Collection<QueryResult> queryResults, final List<AggregationDistinctSelectItem> aggregationDistinctSelectItems);

}