| Package | Description |
|---|---|
| org.apache.druid.query.groupby.epinephelinae | |
| org.apache.druid.query.groupby.orderby |
| Modifier and Type | Method and Description |
|---|---|
static Grouper.BufferComparator |
GrouperBufferComparatorUtils.bufferComparatorWithAggregators(AggregatorFactory[] aggregatorFactories,
int[] aggregatorOffsets,
DefaultLimitSpec limitSpec,
List<DimensionSpec> dimensions,
Grouper.BufferComparator[] dimComparators,
boolean includeTimestamp,
boolean sortByDimsFirst) |
| Constructor and Description |
|---|
ConcurrentGrouper(GroupByQueryConfig groupByQueryConfig,
com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
ReferenceCountingResourceHolder<ByteBuffer> combineBufferHolder,
Grouper.KeySerdeFactory<KeyType> keySerdeFactory,
Grouper.KeySerdeFactory<KeyType> combineKeySerdeFactory,
ColumnSelectorFactory columnSelectorFactory,
AggregatorFactory[] aggregatorFactories,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
int concurrencyHint,
DefaultLimitSpec limitSpec,
boolean sortHasNonGroupingFields,
com.google.common.util.concurrent.ListeningExecutorService executor,
int priority,
boolean hasQueryTimeout,
long queryTimeoutAt) |
SpillingGrouper(com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
Grouper.KeySerdeFactory<KeyType> keySerdeFactory,
ColumnSelectorFactory columnSelectorFactory,
AggregatorFactory[] aggregatorFactories,
int bufferGrouperMaxSize,
float bufferGrouperMaxLoadFactor,
int bufferGrouperInitialBuckets,
LimitedTemporaryStorage temporaryStorage,
com.fasterxml.jackson.databind.ObjectMapper spillMapper,
boolean spillingAllowed,
DefaultLimitSpec limitSpec,
boolean sortHasNonGroupingFields,
int mergeBufferSize) |
| Modifier and Type | Method and Description |
|---|---|
static StringComparator |
DefaultLimitSpec.getComparatorForDimName(DefaultLimitSpec limitSpec,
String dimName) |
static boolean |
DefaultLimitSpec.sortingOrderHasNonGroupingFields(DefaultLimitSpec limitSpec,
List<DimensionSpec> dimensions)
Check if a limitSpec has columns in the sorting order that are not part of the grouping fields represented
by `dimensions`.
|
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.