Search in sources :

Example 1 with GroupByColumnSelectorPlus

use of io.druid.query.groupby.epinephelinae.column.GroupByColumnSelectorPlus in project druid by druid-io.

the class GroupByQueryEngineV2 method createGroupBySelectorPlus.

private static GroupByColumnSelectorPlus[] createGroupBySelectorPlus(ColumnSelectorPlus<GroupByColumnSelectorStrategy>[] baseSelectorPlus) {
    GroupByColumnSelectorPlus[] retInfo = new GroupByColumnSelectorPlus[baseSelectorPlus.length];
    int curPos = 0;
    for (int i = 0; i < retInfo.length; i++) {
        retInfo[i] = new GroupByColumnSelectorPlus(baseSelectorPlus[i], curPos);
        curPos += retInfo[i].getColumnSelectorStrategy().getGroupingKeySize();
    }
    return retInfo;
}
Also used : GroupByColumnSelectorPlus(io.druid.query.groupby.epinephelinae.column.GroupByColumnSelectorPlus)

Aggregations

GroupByColumnSelectorPlus (io.druid.query.groupby.epinephelinae.column.GroupByColumnSelectorPlus)1