public static class GroupByQueryEngineV2.HashAggregateIterator extends GroupByQueryEngineV2.GroupByEngineIterator<ByteBuffer>
| Modifier and Type | Field and Description |
|---|---|
protected ByteBuffer |
keyBuffer |
allowMultiValueGrouping, allSingleValueDims, buffer, cursor, delegate, dims, keySerde, maxSelectorFootprint, query, querySpecificConfig, timestamp| Constructor and Description |
|---|
HashAggregateIterator(GroupByQuery query,
GroupByQueryConfig querySpecificConfig,
DruidProcessingConfig processingConfig,
Cursor cursor,
ByteBuffer buffer,
org.joda.time.DateTime fudgeTimestamp,
GroupByColumnSelectorPlus[] dims,
boolean allSingleValueDims) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
aggregateMultiValueDims(Grouper<ByteBuffer> grouper)
Grouping dimensions can be multi-valued, and thus the given grouper should handle them properly during
aggregation.
|
protected void |
aggregateSingleValueDims(Grouper<ByteBuffer> grouper)
Grouping dimensions are all single-valued, and thus the given grouper don't have to worry about multi-valued
dimensions.
|
protected Grouper<ByteBuffer> |
newGrouper()
Create a new grouper.
|
protected void |
putToRow(ByteBuffer key,
ResultRow resultRow)
Add the key to the result row.
|
checkIfMultiValueGroupingIsAllowed, close, getSingleValue, hasNext, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final ByteBuffer keyBuffer
public HashAggregateIterator(GroupByQuery query, GroupByQueryConfig querySpecificConfig, DruidProcessingConfig processingConfig, Cursor cursor, ByteBuffer buffer, @Nullable org.joda.time.DateTime fudgeTimestamp, GroupByColumnSelectorPlus[] dims, boolean allSingleValueDims)
protected Grouper<ByteBuffer> newGrouper()
GroupByQueryEngineV2.GroupByEngineIteratornewGrouper in class GroupByQueryEngineV2.GroupByEngineIterator<ByteBuffer>protected void aggregateSingleValueDims(Grouper<ByteBuffer> grouper)
GroupByQueryEngineV2.GroupByEngineIteratoraggregateSingleValueDims in class GroupByQueryEngineV2.GroupByEngineIterator<ByteBuffer>protected void aggregateMultiValueDims(Grouper<ByteBuffer> grouper)
GroupByQueryEngineV2.GroupByEngineIteratoraggregateMultiValueDims in class GroupByQueryEngineV2.GroupByEngineIterator<ByteBuffer>protected void putToRow(ByteBuffer key, ResultRow resultRow)
GroupByQueryEngineV2.GroupByEngineIteratorputToRow in class GroupByQueryEngineV2.GroupByEngineIterator<ByteBuffer>Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.