| Package | Description |
|---|---|
| io.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. |
| Modifier and Type | Method and Description |
|---|---|
static io.druid.java.util.common.Pair<Grouper<io.druid.query.groupby.epinephelinae.RowBasedGrouperHelper.RowBasedKey>,io.druid.java.util.common.guava.Accumulator<AggregateResult,io.druid.data.input.Row>> |
RowBasedGrouperHelper.createGrouperAccumulatorPair(GroupByQuery query,
boolean isInputRaw,
Map<String,ValueType> rawInputRowSignature,
GroupByQueryConfig config,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
int concurrencyHint,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
AggregatorFactory[] aggregatorFactories,
com.google.common.util.concurrent.ListeningExecutorService grouperSorter,
int priority,
boolean hasQueryTimeout,
long queryTimeoutAt,
int mergeBufferSize)
If isInputRaw is true, transformations such as timestamp truncation and extraction functions have not
been applied to the input rows yet, for example, in a nested query, if an extraction function is being
applied in the outer query to a field of the inner query.
|
static io.druid.java.util.common.Pair<Grouper<io.druid.query.groupby.epinephelinae.RowBasedGrouperHelper.RowBasedKey>,io.druid.java.util.common.guava.Accumulator<AggregateResult,io.druid.data.input.Row>> |
RowBasedGrouperHelper.createGrouperAccumulatorPair(GroupByQuery query,
boolean isInputRaw,
Map<String,ValueType> rawInputRowSignature,
GroupByQueryConfig config,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
AggregatorFactory[] aggregatorFactories,
int mergeBufferSize)
Create a single-threaded grouper and accumulator.
|
| Modifier and Type | Method and Description |
|---|---|
static CloseableGrouperIterator<io.druid.query.groupby.epinephelinae.RowBasedGrouperHelper.RowBasedKey,io.druid.data.input.Row> |
RowBasedGrouperHelper.makeGrouperIterator(Grouper<io.druid.query.groupby.epinephelinae.RowBasedGrouperHelper.RowBasedKey> grouper,
GroupByQuery query,
Closeable closeable) |
| Constructor and Description |
|---|
CloseableGrouperIterator(Grouper<KeyType> grouper,
boolean sorted,
com.google.common.base.Function<Grouper.Entry<KeyType>,T> transformer,
Closeable closer) |
Copyright © 2011–2017. All rights reserved.