| Package | Description |
|---|---|
| org.apache.druid.query.groupby.epinephelinae |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IntGrouper
Grouper specialized for the primitive int type |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBufferHashGrouper<KeyType> |
class |
BufferArrayGrouper
A buffer grouper for array-based aggregation.
|
class |
BufferHashGrouper<KeyType> |
class |
ConcurrentGrouper<KeyType>
Grouper based around a set of underlying
SpillingGrouper instances. |
class |
LimitedBufferHashGrouper<KeyType> |
class |
SpillingGrouper<KeyType>
Grouper based around a single underlying
BufferHashGrouper. |
class |
StreamingMergeSortedGrouper<KeyType>
A streaming grouper which can aggregate sorted inputs.
|
| Modifier and Type | Method and Description |
|---|---|
static Pair<Grouper<RowBasedGrouperHelper.RowBasedKey>,Accumulator<AggregateResult,ResultRow>> |
RowBasedGrouperHelper.createGrouperAccumulatorPair(GroupByQuery query,
GroupByQuery subquery,
GroupByQueryConfig config,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
int mergeBufferSize)
Create a single-threaded grouper and accumulator.
|
static Pair<Grouper<RowBasedGrouperHelper.RowBasedKey>,Accumulator<AggregateResult,ResultRow>> |
RowBasedGrouperHelper.createGrouperAccumulatorPair(GroupByQuery query,
GroupByQuery subquery,
GroupByQueryConfig config,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
ReferenceCountingResourceHolder<ByteBuffer> combineBufferHolder,
int concurrencyHint,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
com.google.common.util.concurrent.ListeningExecutorService grouperSorter,
int priority,
boolean hasQueryTimeout,
long queryTimeoutAt,
int mergeBufferSize)
Create a
Grouper that groups according to the dimensions and aggregators in "query", along with
an Accumulator that accepts ResultRows and forwards them to the grouper. |
| Modifier and Type | Method and Description |
|---|---|
static CloseableGrouperIterator<RowBasedGrouperHelper.RowBasedKey,ResultRow> |
RowBasedGrouperHelper.makeGrouperIterator(Grouper<RowBasedGrouperHelper.RowBasedKey> grouper,
GroupByQuery query,
Closeable closeable) |
static CloseableGrouperIterator<RowBasedGrouperHelper.RowBasedKey,ResultRow> |
RowBasedGrouperHelper.makeGrouperIterator(Grouper<RowBasedGrouperHelper.RowBasedKey> grouper,
GroupByQuery query,
List<String> dimsToInclude,
Closeable closeable) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.