| Package | Description |
|---|---|
| org.apache.druid.query.groupby.epinephelinae |
| Modifier and Type | Method and Description |
|---|---|
default AggregateResult |
IntGrouper.aggregate(int key) |
default AggregateResult |
IntGrouper.aggregate(Integer key)
Deprecated.
Please use
IntGrouper.aggregate(int) instead. |
default AggregateResult |
IntGrouper.aggregate(Integer key,
int keyHash)
Deprecated.
Please use
IntGrouper.aggregateKeyHash(int) instead. |
default AggregateResult |
Grouper.aggregate(KeyType key)
Aggregate the current row with the provided key.
|
AggregateResult |
StreamingMergeSortedGrouper.aggregate(KeyType key) |
AggregateResult |
Grouper.aggregate(KeyType key,
int keyHash)
Aggregate the current row with the provided key.
|
AggregateResult |
SpillingGrouper.aggregate(KeyType key,
int keyHash) |
AggregateResult |
ConcurrentGrouper.aggregate(KeyType key,
int keyHash) |
AggregateResult |
AbstractBufferHashGrouper.aggregate(KeyType key,
int keyHash) |
AggregateResult |
StreamingMergeSortedGrouper.aggregate(KeyType key,
int notUsed) |
AggregateResult |
IntGrouper.aggregateKeyHash(int keyHash) |
AggregateResult |
BufferArrayGrouper.aggregateKeyHash(int dimIndex) |
AggregateResult |
HashVectorGrouper.aggregateVector(org.apache.datasketches.memory.Memory keySpace,
int startRow,
int endRow) |
AggregateResult |
BufferArrayGrouper.aggregateVector(org.apache.datasketches.memory.Memory keySpace,
int startRow,
int endRow) |
AggregateResult |
VectorGrouper.aggregateVector(org.apache.datasketches.memory.Memory keySpace,
int startRow,
int endRow)
Aggregate the current vector of rows from "startRow" to "endRow" using the provided keys.
|
static AggregateResult |
Groupers.dictionaryFull(int count) |
static AggregateResult |
Groupers.hashTableFull(int count) |
static AggregateResult |
AggregateResult.ok() |
static AggregateResult |
AggregateResult.partial(int count,
String reason) |
| 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. |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.