Uses of Interface
org.apache.druid.query.aggregation.Aggregator
-
-
Uses of Aggregator in org.apache.druid.query.aggregation
Classes in org.apache.druid.query.aggregation that implement Aggregator Modifier and Type Class Description classCountAggregatorclassDelegatingAggregatorAn Aggregator that delegates everything.classDoubleMaxAggregatorclassDoubleMinAggregatorclassDoubleSumAggregatorclassExpressionLambdaAggregatorclassFilteredAggregatorclassFloatMaxAggregatorclassFloatMinAggregatorclassFloatSumAggregatorclassHistogramAggregatorclassJavaScriptAggregatorclassLongMaxAggregatorclassLongMinAggregatorclassLongSumAggregatorclassNoopAggregatorclassNullableNumericAggregatorNull-aware numericAggregator.classSingleValueAggregatorclassStringColumnDoubleAggregatorWrapperThis class can be used to wrap Double Aggregator that consume double type columns to handle String type.classStringColumnFloatAggregatorWrapperThis class can be used to wrap Float Aggregator that consume float type columns to handle String type.classStringColumnLongAggregatorWrapperThis class can be used to wrap Long Aggregator that consume long type columns to handle String type.static classSuppressedAggregatorFactory.SuppressedAggregatorFields in org.apache.druid.query.aggregation declared as Aggregator Modifier and Type Field Description protected AggregatorDelegatingAggregator. delegateMethods in org.apache.druid.query.aggregation that return Aggregator Modifier and Type Method Description protected AggregatorDoubleMaxAggregatorFactory. buildAggregator(BaseDoubleColumnValueSelector selector)protected AggregatorDoubleMinAggregatorFactory. buildAggregator(BaseDoubleColumnValueSelector selector)protected AggregatorDoubleSumAggregatorFactory. buildAggregator(BaseDoubleColumnValueSelector selector)protected AggregatorFloatMaxAggregatorFactory. buildAggregator(BaseFloatColumnValueSelector selector)protected AggregatorFloatMinAggregatorFactory. buildAggregator(BaseFloatColumnValueSelector selector)protected AggregatorFloatSumAggregatorFactory. buildAggregator(BaseFloatColumnValueSelector selector)protected AggregatorLongMaxAggregatorFactory. buildAggregator(BaseLongColumnValueSelector selector)protected AggregatorLongMinAggregatorFactory. buildAggregator(BaseLongColumnValueSelector selector)protected AggregatorLongSumAggregatorFactory. buildAggregator(BaseLongColumnValueSelector selector)protected abstract AggregatorSimpleDoubleAggregatorFactory. buildAggregator(BaseDoubleColumnValueSelector selector)protected abstract AggregatorSimpleFloatAggregatorFactory. buildAggregator(BaseFloatColumnValueSelector selector)protected abstract AggregatorSimpleLongAggregatorFactory. buildAggregator(BaseLongColumnValueSelector selector)abstract AggregatorAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorCountAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorExpressionLambdaAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorFilteredAggregatorFactory. factorize(ColumnSelectorFactory columnSelectorFactory)AggregatorGroupingAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorHistogramAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorJavaScriptAggregatorFactory. factorize(ColumnSelectorFactory columnFactory)AggregatorNullableNumericAggregatorFactory. factorize(ColumnSelectorFactory columnSelectorFactory)protected abstract AggregatorNullableNumericAggregatorFactory. factorize(ColumnSelectorFactory columnSelectorFactory, T selector)Creates anAggregatorto aggregate values from several rows, by using the provided selector.protected AggregatorSimpleDoubleAggregatorFactory. factorize(ColumnSelectorFactory metricFactory, ColumnValueSelector selector)protected AggregatorSimpleFloatAggregatorFactory. factorize(ColumnSelectorFactory metricFactory, ColumnValueSelector selector)protected AggregatorSimpleLongAggregatorFactory. factorize(ColumnSelectorFactory metricFactory, ColumnValueSelector selector)AggregatorSingleValueAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorSuppressedAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorAggregatorAndSize. getAggregator()AggregatorSuppressedAggregatorFactory.SuppressedAggregator. getDelegate()Constructors in org.apache.druid.query.aggregation with parameters of type Aggregator Constructor Description AggregatorAndSize(Aggregator aggregator, long initialSizeBytes)FilteredAggregator(ValueMatcher matcher, Aggregator delegate)NullableNumericAggregator(Aggregator delegate, BaseNullableColumnValueSelector selector)SuppressedAggregator(Aggregator delegate)Constructor parameters in org.apache.druid.query.aggregation with type arguments of type Aggregator Constructor Description StringColumnDoubleAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseDoubleColumnValueSelector,Aggregator> delegateBuilder, double nullValue)StringColumnFloatAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseFloatColumnValueSelector,Aggregator> delegateBuilder, float nullValue)StringColumnLongAggregatorWrapper(BaseObjectColumnValueSelector selector, Function<BaseLongColumnValueSelector,Aggregator> delegateBuilder, long nullValue) -
Uses of Aggregator in org.apache.druid.query.aggregation.any
Classes in org.apache.druid.query.aggregation.any that implement Aggregator Modifier and Type Class Description classDoubleAnyAggregatorclassFloatAnyAggregatorclassLongAnyAggregatorclassNumericAnyAggregator<TSelector extends BaseNullableColumnValueSelector>Base type for on heap 'any' aggregator for primitive numeric column selectorsclassStringAnyAggregatorMethods in org.apache.druid.query.aggregation.any that return Aggregator Modifier and Type Method Description AggregatorDoubleAnyAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorFloatAnyAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorLongAnyAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorStringAnyAggregatorFactory. factorize(ColumnSelectorFactory metricFactory) -
Uses of Aggregator in org.apache.druid.query.aggregation.cardinality
Classes in org.apache.druid.query.aggregation.cardinality that implement Aggregator Modifier and Type Class Description classCardinalityAggregatorMethods in org.apache.druid.query.aggregation.cardinality that return Aggregator Modifier and Type Method Description AggregatorCardinalityAggregatorFactory. factorize(ColumnSelectorFactory columnFactory) -
Uses of Aggregator in org.apache.druid.query.aggregation.constant
Classes in org.apache.druid.query.aggregation.constant that implement Aggregator Modifier and Type Class Description classLongConstantAggregatorThis aggregator is a no-op aggregator with a fixed non-null output value. -
Uses of Aggregator in org.apache.druid.query.aggregation.firstlast.first
Classes in org.apache.druid.query.aggregation.firstlast.first that implement Aggregator Modifier and Type Class Description classDoubleFirstAggregatorclassFloatFirstAggregatorclassLongFirstAggregatorclassNumericFirstAggregatorBase type for on heap 'first' aggregator for primitive numeric column selectorsclassStringFirstAggregatorMethods in org.apache.druid.query.aggregation.firstlast.first that return Aggregator Modifier and Type Method Description AggregatorDoubleFirstAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorFloatFirstAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorLongFirstAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorStringFirstAggregatorFactory. factorize(ColumnSelectorFactory metricFactory) -
Uses of Aggregator in org.apache.druid.query.aggregation.firstlast.last
Classes in org.apache.druid.query.aggregation.firstlast.last that implement Aggregator Modifier and Type Class Description classDoubleLastAggregatorclassFloatLastAggregatorclassLongLastAggregatorclassNumericLastAggregatorBase type for on heap 'last' aggregator for primitive numeric column selectors..classStringLastAggregatorMethods in org.apache.druid.query.aggregation.firstlast.last that return Aggregator Modifier and Type Method Description AggregatorDoubleLastAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorFloatLastAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorLongLastAggregatorFactory. factorize(ColumnSelectorFactory metricFactory)AggregatorStringLastAggregatorFactory. factorize(ColumnSelectorFactory metricFactory) -
Uses of Aggregator in org.apache.druid.query.aggregation.hyperloglog
Classes in org.apache.druid.query.aggregation.hyperloglog that implement Aggregator Modifier and Type Class Description classHyperUniquesAggregatorMethods in org.apache.druid.query.aggregation.hyperloglog that return Aggregator Modifier and Type Method Description AggregatorHyperUniquesAggregatorFactory. factorize(ColumnSelectorFactory metricFactory) -
Uses of Aggregator in org.apache.druid.query.aggregation.mean
Classes in org.apache.druid.query.aggregation.mean that implement Aggregator Modifier and Type Class Description classDoubleMeanAggregatorMethods in org.apache.druid.query.aggregation.mean that return Aggregator Modifier and Type Method Description AggregatorDoubleMeanAggregatorFactory. factorize(ColumnSelectorFactory metricFactory) -
Uses of Aggregator in org.apache.druid.query.topn
Fields in org.apache.druid.query.topn declared as Aggregator Modifier and Type Field Description static Aggregator[]TopNAlgorithm. EMPTY_ARRAYMethods in org.apache.druid.query.topn that return Aggregator Modifier and Type Method Description Aggregator[][]BaseTopNAlgorithm.AggregatorArrayProvider. build()static Aggregator[]BaseTopNAlgorithm. makeAggregators(Cursor cursor, List<AggregatorFactory> aggregatorSpecs)protected Aggregator[][]HeapBasedTopNAlgorithm. makeDimValSelector(TopNParams params, int numProcessed, int numToProcess)protected Aggregator[][]HeapBasedTopNAlgorithm. updateDimValSelector(Aggregator[][] aggregators, int numProcessed, int numToProcess)Methods in org.apache.druid.query.topn with parameters of type Aggregator Modifier and Type Method Description protected longHeapBasedTopNAlgorithm. scanAndAggregate(TopNParams params, Aggregator[][] rowSelector, TopNColumnAggregatesProcessor processor)protected Aggregator[][]HeapBasedTopNAlgorithm. updateDimValSelector(Aggregator[][] aggregators, int numProcessed, int numToProcess)protected voidHeapBasedTopNAlgorithm. updateResults(TopNParams params, Aggregator[][] aggregators, TopNColumnAggregatesProcessor processor, TopNResultBuilder resultBuilder) -
Uses of Aggregator in org.apache.druid.query.topn.types
Methods in org.apache.druid.query.topn.types that return Aggregator Modifier and Type Method Description Aggregator[][]NullableNumericTopNColumnAggregatesProcessor. getRowSelector(TopNQuery query, TopNParams params, StorageAdapter storageAdapter)Aggregator[][]StringTopNColumnAggregatesProcessor. getRowSelector(TopNQuery query, TopNParams params, StorageAdapter storageAdapter)Aggregator[][]TopNColumnAggregatesProcessor. getRowSelector(TopNQuery query, TopNParams params, StorageAdapter storageAdapter)Used byHeapBasedTopNAlgorithm.Methods in org.apache.druid.query.topn.types with parameters of type Aggregator Modifier and Type Method Description longNullableNumericTopNColumnAggregatesProcessor. scanAndAggregate(TopNQuery query, Selector selector, Cursor cursor, Aggregator[][] rowSelector)longStringTopNColumnAggregatesProcessor. scanAndAggregate(TopNQuery query, DimensionSelector selector, Cursor cursor, Aggregator[][] rowSelector)longTopNColumnAggregatesProcessor. scanAndAggregate(TopNQuery query, ValueSelectorType selector, Cursor cursor, Aggregator[][] rowSelector)Used byHeapBasedTopNAlgorithm. -
Uses of Aggregator in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental that return Aggregator Modifier and Type Method Description protected Aggregator[]OnheapIncrementalIndex. concurrentGet(int offset)protected Aggregator[]OnheapIncrementalIndex. getAggsForRow(int rowOffset)Methods in org.apache.druid.segment.incremental with parameters of type Aggregator Modifier and Type Method Description protected voidOnheapIncrementalIndex. concurrentSet(int offset, Aggregator[] value)
-