Uses of Class
org.apache.druid.query.aggregation.AggregatorFactory
-
-
Uses of AggregatorFactory in org.apache.druid.query
Methods in org.apache.druid.query with parameters of type AggregatorFactory Modifier and Type Method Description Druids.TimeseriesQueryBuilderDruids.TimeseriesQueryBuilder. aggregators(AggregatorFactory... aggregators)Method parameters in org.apache.druid.query with type arguments of type AggregatorFactory Modifier and Type Method Description Druids.TimeseriesQueryBuilderDruids.TimeseriesQueryBuilder. aggregators(List<AggregatorFactory> a)static List<PostAggregator>Queries. decoratePostAggregators(List<PostAggregator> postAggs, Map<String,AggregatorFactory> aggFactories)static voidCacheStrategy. fetchAggregatorsFromCache(List<AggregatorFactory> aggregators, Iterator<Object> resultIter, boolean isResultLevelCache, CacheStrategy.AddToResultFunction addToResultFunction)Helper function used by TopN, GroupBy, Timeseries queries inCacheStrategy.pullFromCache(boolean).static intDruidMetrics. findNumComplexAggs(List<AggregatorFactory> aggs)static List<PostAggregator>Queries. prepareAggregations(List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)Deprecated. -
Uses of AggregatorFactory in org.apache.druid.query.aggregation
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation Modifier and Type Class Description classCountAggregatorFactoryclassDoubleMaxAggregatorFactoryclassDoubleMinAggregatorFactoryclassDoubleSumAggregatorFactoryclassExpressionLambdaAggregatorFactoryclassFilteredAggregatorFactoryclassFloatMaxAggregatorFactoryclassFloatMinAggregatorFactoryclassFloatSumAggregatorFactoryclassGroupingAggregatorFactoryThis class implementsgroupingfunction to determine the grouping that a row is part of.classHistogramAggregatorFactoryclassJavaScriptAggregatorFactoryclassLongMaxAggregatorFactoryclassLongMinAggregatorFactoryclassLongSumAggregatorFactoryclassNullableNumericAggregatorFactory<T extends BaseNullableColumnValueSelector>Abstract superclass for null-aware numeric aggregators.classSimpleDoubleAggregatorFactoryThis is an abstract class inherited by variousAggregatorFactoryimplementations that consume double input and produce double output on aggregation.classSimpleFloatAggregatorFactoryclassSimpleLongAggregatorFactoryThis is an abstract class inherited by variousAggregatorFactoryimplementations that consume long input and produce long output on aggregation.classSingleValueAggregatorFactoryThis AggregatorFactory is meant to wrap the subquery used as an expression into a single value and is expected to throw an exception when the subquery results in more than one rowclassSuppressedAggregatorFactoryThis AggregatorFactory is meant for wrapping delegate aggregators for optimization purposes.Methods in org.apache.druid.query.aggregation that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryFilteredAggregatorFactory. getAggregator()abstract AggregatorFactoryAggregatorFactory. getCombiningFactory()Returns an AggregatorFactory that can be used to combine the output of aggregators from this factory.AggregatorFactoryCountAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleMaxAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleMinAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleSumAggregatorFactory. getCombiningFactory()AggregatorFactoryExpressionLambdaAggregatorFactory. getCombiningFactory()AggregatorFactoryFilteredAggregatorFactory. getCombiningFactory()AggregatorFactoryFloatMaxAggregatorFactory. getCombiningFactory()AggregatorFactoryFloatMinAggregatorFactory. getCombiningFactory()AggregatorFactoryFloatSumAggregatorFactory. getCombiningFactory()AggregatorFactoryGroupingAggregatorFactory. getCombiningFactory()AggregatorFactoryHistogramAggregatorFactory. getCombiningFactory()AggregatorFactoryJavaScriptAggregatorFactory. getCombiningFactory()AggregatorFactoryLongMaxAggregatorFactory. getCombiningFactory()AggregatorFactoryLongMinAggregatorFactory. getCombiningFactory()AggregatorFactoryLongSumAggregatorFactory. getCombiningFactory()AggregatorFactorySingleValueAggregatorFactory. getCombiningFactory()AggregatorFactorySuppressedAggregatorFactory. getCombiningFactory()AggregatorFactorySuppressedAggregatorFactory. getDelegate()AggregatorFactoryAggregatorFactory. getMergingFactory(AggregatorFactory other)Returns an AggregatorFactory that can be used to combine the output of aggregators from this factory and another factory.AggregatorFactoryJavaScriptAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySimpleDoubleAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySimpleFloatAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySimpleLongAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySuppressedAggregatorFactory. getMergingFactory(AggregatorFactory other)static AggregatorFactory[]AggregatorFactory. mergeAggregators(List<AggregatorFactory[]> aggregatorsList)Merges the list of AggregatorFactory[] (presumable from metadata of some segments being merged) and returns merged AggregatorFactory[] (for the metadata for merged segment).AggregatorFactoryAggregatorFactory. optimizeForSegment(PerSegmentQueryOptimizationContext optimizationContext)Return a potentially optimized form of this AggregatorFactory for per-segment queries.AggregatorFactoryFilteredAggregatorFactory. optimizeForSegment(PerSegmentQueryOptimizationContext optimizationContext)AggregatorFactorySuppressedAggregatorFactory. optimizeForSegment(PerSegmentQueryOptimizationContext optimizationContext)AggregatorFactoryAggregatorFactory. withName(String newName)Used in cases where we want to change the output name of the aggregator to something else.AggregatorFactoryCountAggregatorFactory. withName(String newName)AggregatorFactoryDoubleMaxAggregatorFactory. withName(String newName)AggregatorFactoryDoubleMinAggregatorFactory. withName(String newName)AggregatorFactoryDoubleSumAggregatorFactory. withName(String newName)AggregatorFactoryExpressionLambdaAggregatorFactory. withName(String newName)AggregatorFactoryFilteredAggregatorFactory. withName(String newName)AggregatorFactoryFloatMaxAggregatorFactory. withName(String newName)AggregatorFactoryFloatMinAggregatorFactory. withName(String newName)AggregatorFactoryFloatSumAggregatorFactory. withName(String newName)AggregatorFactoryGroupingAggregatorFactory. withName(String newName)AggregatorFactoryHistogramAggregatorFactory. withName(String newName)AggregatorFactoryJavaScriptAggregatorFactory. withName(String newName)AggregatorFactoryLongMaxAggregatorFactory. withName(String newName)AggregatorFactoryLongMinAggregatorFactory. withName(String newName)AggregatorFactoryLongSumAggregatorFactory. withName(String newName)AggregatorFactorySuppressedAggregatorFactory. withName(String newName)Methods in org.apache.druid.query.aggregation that return types with arguments of type AggregatorFactory Modifier and Type Method Description static Pair<List<AggregatorFactory>,List<PostAggregator>>AggregatorUtil. condensedAggregators(List<AggregatorFactory> aggList, List<PostAggregator> postAggList, String metric)List<AggregatorFactory>AggregatorAdapters. factories()Return theAggregatorFactoryobjects that were used to create this object.List<AggregatorFactory>AggregatorFactory. getRequiredColumns()Deprecated.Methods in org.apache.druid.query.aggregation with parameters of type AggregatorFactory Modifier and Type Method Description AggregatorFactoryAggregatorFactory. getMergingFactory(AggregatorFactory other)Returns an AggregatorFactory that can be used to combine the output of aggregators from this factory and another factory.AggregatorFactoryJavaScriptAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySimpleDoubleAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySimpleFloatAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySimpleLongAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactorySuppressedAggregatorFactory. getMergingFactory(AggregatorFactory other)ObjectMetricManipulationFn. manipulate(AggregatorFactory factory, Object object)Method parameters in org.apache.druid.query.aggregation with type arguments of type AggregatorFactory Modifier and Type Method Description static Pair<List<AggregatorFactory>,List<PostAggregator>>AggregatorUtil. condensedAggregators(List<AggregatorFactory> aggList, List<PostAggregator> postAggList, String metric)PostAggregatorPostAggregator. decorate(Map<String,AggregatorFactory> aggregators)Allows returning an enriched post aggregator, built from contextual information available from the given map ofAggregatorFactorykeyed by their names.static AggregatorAdaptersAggregatorAdapters. factorizeBuffered(ColumnSelectorFactory columnSelectorFactory, List<AggregatorFactory> aggregatorFactories)Create an adapters object based onBufferAggregator.static AggregatorAdaptersAggregatorAdapters. factorizeVector(VectorColumnSelectorFactory columnSelectorFactory, List<AggregatorFactory> aggregatorFactories)Create an adapters object based onVectorAggregator.Constructors in org.apache.druid.query.aggregation with parameters of type AggregatorFactory Constructor Description AggregatorFactoryNotMergeableException(AggregatorFactory af1, AggregatorFactory af2)FilteredAggregatorFactory(AggregatorFactory delegate, DimFilter filter)FilteredAggregatorFactory(AggregatorFactory delegate, DimFilter dimFilter, String name)SuppressedAggregatorFactory(AggregatorFactory delegate) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.any
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation.any Modifier and Type Class Description classDoubleAnyAggregatorFactoryclassFloatAnyAggregatorFactoryclassLongAnyAggregatorFactoryclassStringAnyAggregatorFactoryMethods in org.apache.druid.query.aggregation.any that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryDoubleAnyAggregatorFactory. getCombiningFactory()AggregatorFactoryFloatAnyAggregatorFactory. getCombiningFactory()AggregatorFactoryLongAnyAggregatorFactory. getCombiningFactory()AggregatorFactoryStringAnyAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleAnyAggregatorFactory. withName(String newName)AggregatorFactoryFloatAnyAggregatorFactory. withName(String newName)AggregatorFactoryLongAnyAggregatorFactory. withName(String newName)AggregatorFactoryStringAnyAggregatorFactory. withName(String newName) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.cardinality
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation.cardinality Modifier and Type Class Description classCardinalityAggregatorFactoryMethods in org.apache.druid.query.aggregation.cardinality that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryCardinalityAggregatorFactory. getCombiningFactory()AggregatorFactoryCardinalityAggregatorFactory. withName(String newName) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.firstlast.first
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation.firstlast.first Modifier and Type Class Description classDoubleFirstAggregatorFactoryclassFloatFirstAggregatorFactoryclassLongFirstAggregatorFactoryclassStringFirstAggregatorFactoryclassStringFirstFoldingAggregatorFactoryFor backwards compatibility; equivalent to a regular StringFirstAggregatorFactory.Methods in org.apache.druid.query.aggregation.firstlast.first that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryDoubleFirstAggregatorFactory. getCombiningFactory()AggregatorFactoryFloatFirstAggregatorFactory. getCombiningFactory()AggregatorFactoryLongFirstAggregatorFactory. getCombiningFactory()AggregatorFactoryStringFirstAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleFirstAggregatorFactory. withName(String newName)AggregatorFactoryFloatFirstAggregatorFactory. withName(String newName)AggregatorFactoryLongFirstAggregatorFactory. withName(String newName)AggregatorFactoryStringFirstAggregatorFactory. withName(String newName)AggregatorFactoryStringFirstFoldingAggregatorFactory. withName(String newName) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.firstlast.last
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation.firstlast.last Modifier and Type Class Description classDoubleLastAggregatorFactoryclassFloatLastAggregatorFactoryclassLongLastAggregatorFactoryclassStringLastAggregatorFactoryclassStringLastFoldingAggregatorFactoryFor backwards compatibility; equivalent to a regular StringLastAggregatorFactory.Methods in org.apache.druid.query.aggregation.firstlast.last that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryDoubleLastAggregatorFactory. getCombiningFactory()AggregatorFactoryFloatLastAggregatorFactory. getCombiningFactory()AggregatorFactoryLongLastAggregatorFactory. getCombiningFactory()AggregatorFactoryStringLastAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleLastAggregatorFactory. withName(String newName)AggregatorFactoryFloatLastAggregatorFactory. withName(String newName)AggregatorFactoryLongLastAggregatorFactory. withName(String newName)AggregatorFactoryStringLastAggregatorFactory. withName(String newName)AggregatorFactoryStringLastFoldingAggregatorFactory. withName(String newName) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.hyperloglog
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation.hyperloglog Modifier and Type Class Description classHyperUniquesAggregatorFactoryMethods in org.apache.druid.query.aggregation.hyperloglog that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryHyperUniquesAggregatorFactory. getCombiningFactory()AggregatorFactoryHyperUniquesAggregatorFactory. getMergingFactory(AggregatorFactory other)AggregatorFactoryHyperUniquesAggregatorFactory. withName(String newName)Methods in org.apache.druid.query.aggregation.hyperloglog with parameters of type AggregatorFactory Modifier and Type Method Description AggregatorFactoryHyperUniquesAggregatorFactory. getMergingFactory(AggregatorFactory other)Method parameters in org.apache.druid.query.aggregation.hyperloglog with type arguments of type AggregatorFactory Modifier and Type Method Description HyperUniqueFinalizingPostAggregatorHyperUniqueFinalizingPostAggregator. decorate(Map<String,AggregatorFactory> aggregators) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.mean
Subclasses of AggregatorFactory in org.apache.druid.query.aggregation.mean Modifier and Type Class Description classDoubleMeanAggregatorFactoryMethods in org.apache.druid.query.aggregation.mean that return AggregatorFactory Modifier and Type Method Description AggregatorFactoryDoubleMeanAggregatorFactory. getCombiningFactory()AggregatorFactoryDoubleMeanAggregatorFactory. withName(String newName) -
Uses of AggregatorFactory in org.apache.druid.query.aggregation.post
-
Uses of AggregatorFactory in org.apache.druid.query.groupby
Methods in org.apache.druid.query.groupby that return types with arguments of type AggregatorFactory Modifier and Type Method Description List<AggregatorFactory>GroupByQuery. getAggregatorSpecs()Methods in org.apache.druid.query.groupby with parameters of type AggregatorFactory Modifier and Type Method Description GroupByQuery.BuilderGroupByQuery.Builder. addAggregator(AggregatorFactory aggregator)GroupByQuery.BuilderGroupByQuery.Builder. setAggregatorSpecs(AggregatorFactory... aggregatorSpecs)Method parameters in org.apache.druid.query.groupby with type arguments of type AggregatorFactory Modifier and Type Method Description GroupByQuery.BuilderGroupByQuery.Builder. setAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs)GroupByQueryGroupByQuery. withAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs) -
Uses of AggregatorFactory in org.apache.druid.query.groupby.epinephelinae
Methods in org.apache.druid.query.groupby.epinephelinae with parameters of type AggregatorFactory Modifier and Type Method Description Grouper.BufferComparatorGrouper.KeySerde. bufferComparatorWithAggregators(AggregatorFactory[] aggregatorFactories, int[] aggregatorOffsets)When pushing down limits, it may also be necessary to compare aggregated values along with the key using the bufferComparator.static Grouper.BufferComparatorGrouperBufferComparatorUtils. bufferComparatorWithAggregators(AggregatorFactory[] aggregatorFactories, int[] aggregatorOffsets, DefaultLimitSpec limitSpec, List<DimensionSpec> dimensions, Grouper.BufferComparator[] dimComparators, boolean includeTimestamp, boolean sortByDimsFirst, int keySize)static longBufferArrayGrouper. requiredBufferCapacity(int cardinality, AggregatorFactory[] aggregatorFactories)Computes required buffer capacity for a grouping key of the given cardinaltiy and aggregatorFactories.static <KeyType> intStreamingMergeSortedGrouper. requiredBufferCapacity(Grouper.KeySerde<KeyType> keySerde, AggregatorFactory[] aggregatorFactories)Returns the minimum buffer capacity required for this grouper.Constructors in org.apache.druid.query.groupby.epinephelinae with parameters of type AggregatorFactory Constructor 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)ParallelCombiner(ReferenceCountingResourceHolder<ByteBuffer> combineBufferHolder, AggregatorFactory[] combiningFactories, Grouper.KeySerdeFactory<KeyType> combineKeySerdeFactory, com.google.common.util.concurrent.ListeningExecutorService executor, boolean sortHasNonGroupingFields, int concurrencyHint, int priority, long queryTimeoutAt, int intermediateCombineDegree)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) -
Uses of AggregatorFactory in org.apache.druid.query.groupby.having
Methods in org.apache.druid.query.groupby.having that return types with arguments of type AggregatorFactory Modifier and Type Method Description static Map<String,AggregatorFactory>HavingSpecUtil. computeAggregatorsMap(List<AggregatorFactory> aggregatorSpecs)Method parameters in org.apache.druid.query.groupby.having with type arguments of type AggregatorFactory Modifier and Type Method Description static Map<String,AggregatorFactory>HavingSpecUtil. computeAggregatorsMap(List<AggregatorFactory> aggregatorSpecs) -
Uses of AggregatorFactory in org.apache.druid.query.groupby.orderby
Method parameters in org.apache.druid.query.groupby.orderby with type arguments of type AggregatorFactory Modifier and Type Method Description static intOrderByColumnSpec. getAggIndexForOrderBy(OrderByColumnSpec orderSpec, List<AggregatorFactory> aggregatorFactories) -
Uses of AggregatorFactory in org.apache.druid.query.metadata.metadata
Methods in org.apache.druid.query.metadata.metadata that return types with arguments of type AggregatorFactory Modifier and Type Method Description Map<String,AggregatorFactory>SegmentAnalysis. getAggregators()Constructor parameters in org.apache.druid.query.metadata.metadata with type arguments of type AggregatorFactory Constructor Description SegmentAnalysis(String id, List<org.joda.time.Interval> interval, LinkedHashMap<String,ColumnAnalysis> columns, long size, long numRows, Map<String,AggregatorFactory> aggregators, TimestampSpec timestampSpec, Granularity queryGranularity, Boolean rollup) -
Uses of AggregatorFactory in org.apache.druid.query.operator.window
Methods in org.apache.druid.query.operator.window that return AggregatorFactory Modifier and Type Method Description AggregatorFactory[]WindowFramedAggregateProcessor. getAggregations()Constructors in org.apache.druid.query.operator.window with parameters of type AggregatorFactory Constructor Description WindowFramedAggregateProcessor(WindowFrame frame, AggregatorFactory[] aggregations) -
Uses of AggregatorFactory in org.apache.druid.query.rowsandcols.semantic
Methods in org.apache.druid.query.rowsandcols.semantic with parameters of type AggregatorFactory Modifier and Type Method Description RowsAndColumnsDefaultFramedOnHeapAggregatable. aggregateAll(WindowFrame frame, AggregatorFactory[] aggFactories)RowsAndColumnsFramedOnHeapAggregatable. aggregateAll(WindowFrame frame, AggregatorFactory[] aggFactories)Aggregates the data according to theWindowFrameusing theAggregatorFactoryobjects provided.static ObjectDefaultFramedOnHeapAggregatable. cloneAggValue(AggregatorFactory aggFactory, Object value) -
Uses of AggregatorFactory in org.apache.druid.query.timeseries
Methods in org.apache.druid.query.timeseries that return types with arguments of type AggregatorFactory Modifier and Type Method Description List<AggregatorFactory>TimeseriesQuery. getAggregatorSpecs()Constructor parameters in org.apache.druid.query.timeseries with type arguments of type AggregatorFactory Constructor Description TimeseriesBinaryFn(Granularity granularity, List<AggregatorFactory> aggregations)TimeseriesQuery(DataSource dataSource, QuerySegmentSpec querySegmentSpec, boolean descending, VirtualColumns virtualColumns, DimFilter dimFilter, Granularity granularity, List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs, int limit, Map<String,Object> context) -
Uses of AggregatorFactory in org.apache.druid.query.topn
Methods in org.apache.druid.query.topn that return types with arguments of type AggregatorFactory Modifier and Type Method Description List<AggregatorFactory>TopNQuery. getAggregatorSpecs()Methods in org.apache.druid.query.topn with parameters of type AggregatorFactory Modifier and Type Method Description TopNQueryBuilderTopNQueryBuilder. aggregators(AggregatorFactory... aggs)Method parameters in org.apache.druid.query.topn with type arguments of type AggregatorFactory Modifier and Type Method Description TopNQueryBuilderTopNQueryBuilder. aggregators(List<? extends AggregatorFactory> a)protected static String[]TopNQueryQueryToolChest. extractFactoryName(List<AggregatorFactory> aggregatorFactories)ComparatorAlphaNumericTopNMetricSpec. getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)ComparatorDimensionTopNMetricSpec. getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)ComparatorInvertedTopNMetricSpec. getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)ComparatorLexicographicTopNMetricSpec. getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)ComparatorNumericTopNMetricSpec. getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)ComparatorTopNMetricSpec. getComparator(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)TopNResultBuilderDimensionTopNMetricSpec. getResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)TopNResultBuilderInvertedTopNMetricSpec. getResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)TopNResultBuilderLexicographicTopNMetricSpec. getResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)TopNResultBuilderNumericTopNMetricSpec. getResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)TopNResultBuilderTopNMetricSpec. getResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)static Aggregator[]BaseTopNAlgorithm. makeAggregators(Cursor cursor, List<AggregatorFactory> aggregatorSpecs)protected static BufferAggregator[]BaseTopNAlgorithm. makeBufferAggregators(Cursor cursor, List<AggregatorFactory> aggregatorSpecs)voidDimensionTopNMetricSpec. verifyPreconditions(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)voidInvertedTopNMetricSpec. verifyPreconditions(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)voidLexicographicTopNMetricSpec. verifyPreconditions(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)voidNumericTopNMetricSpec. verifyPreconditions(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)voidTopNMetricSpec. verifyPreconditions(List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)TopNQueryTopNQuery. withAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs)Constructor parameters in org.apache.druid.query.topn with type arguments of type AggregatorFactory Constructor Description TopNBinaryFn(Granularity granularity, DimensionSpec dimSpec, TopNMetricSpec topNMetricSpec, int threshold, List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs)TopNLexicographicResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, int threshold, String previousStop, Comparator comparator, List<AggregatorFactory> aggFactories)TopNNumericResultBuilder(org.joda.time.DateTime timestamp, DimensionSpec dimSpec, String metricName, int threshold, Comparator comparator, List<AggregatorFactory> aggFactories, List<PostAggregator> postAggs)TopNQuery(DataSource dataSource, VirtualColumns virtualColumns, DimensionSpec dimensionSpec, TopNMetricSpec topNMetricSpec, int threshold, QuerySegmentSpec querySegmentSpec, DimFilter dimFilter, Granularity granularity, List<AggregatorFactory> aggregatorSpecs, List<PostAggregator> postAggregatorSpecs, Map<String,Object> context) -
Uses of AggregatorFactory in org.apache.druid.segment
Methods in org.apache.druid.segment that return AggregatorFactory Modifier and Type Method Description AggregatorFactory[]Metadata. getAggregators()Methods in org.apache.druid.segment that return types with arguments of type AggregatorFactory Modifier and Type Method Description Map<String,AggregatorFactory>SchemaPayload. getAggregatorFactories()Methods in org.apache.druid.segment with parameters of type AggregatorFactory Modifier and Type Method Description FileIndexMerger. merge(List<IndexableAdapter> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, DimensionsSpec dimensionsSpec, IndexSpec indexSpec, int maxColumnsToMerge)Only used as a convenience method in tests.FileIndexMergerV9. merge(List<IndexableAdapter> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, DimensionsSpec dimensionsSpec, IndexSpec indexSpec, int maxColumnsToMerge)static MetadataMetadata. merge(List<Metadata> toBeMerged, AggregatorFactory[] overrideMergedAggregators)default FileIndexMerger. mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, File outDir, IndexSpec indexSpec, SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, int maxColumnsToMerge)Merge a collection ofQueryableIndex.FileIndexMerger. mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, DimensionsSpec dimensionsSpec, File outDir, IndexSpec indexSpec, IndexSpec indexSpecForIntermediatePersists, ProgressIndicator progress, SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, int maxColumnsToMerge)Merge a collection ofQueryableIndex.FileIndexMergerV9. mergeQueryableIndex(List<QueryableIndex> indexes, boolean rollup, AggregatorFactory[] metricAggs, DimensionsSpec dimensionsSpec, File outDir, IndexSpec indexSpec, IndexSpec indexSpecForIntermediatePersists, ProgressIndicator progress, SegmentWriteOutMediumFactory segmentWriteOutMediumFactory, int maxColumnsToMerge)Constructors in org.apache.druid.segment with parameters of type AggregatorFactory Constructor Description Metadata(Map<String,Object> container, AggregatorFactory[] aggregators, TimestampSpec timestampSpec, Granularity queryGranularity, Boolean rollup)Constructor parameters in org.apache.druid.segment with type arguments of type AggregatorFactory Constructor Description SchemaPayload(RowSignature rowSignature, Map<String,AggregatorFactory> aggregatorFactories) -
Uses of AggregatorFactory in org.apache.druid.segment.column
Method parameters in org.apache.druid.segment.column with type arguments of type AggregatorFactory Modifier and Type Method Description RowSignature.BuilderRowSignature.Builder. addAggregators(List<AggregatorFactory> aggregators, RowSignature.Finalization finalization)Adds aggregations to a signature. -
Uses of AggregatorFactory in org.apache.druid.segment.generator
Methods in org.apache.druid.segment.generator that return AggregatorFactory Modifier and Type Method Description AggregatorFactory[]GeneratorSchemaInfo. getAggsArray()Methods in org.apache.druid.segment.generator that return types with arguments of type AggregatorFactory Modifier and Type Method Description List<AggregatorFactory>GeneratorSchemaInfo. getAggs() -
Uses of AggregatorFactory in org.apache.druid.segment.incremental
Methods in org.apache.druid.segment.incremental that return AggregatorFactory Modifier and Type Method Description AggregatorFactory[]IncrementalIndex. getMetricAggs()AggregatorFactory[]IncrementalIndexSchema. getMetrics()Methods in org.apache.druid.segment.incremental with parameters of type AggregatorFactory Modifier and Type Method Description protected abstract voidIncrementalIndex. initAggs(AggregatorFactory[] metrics, IncrementalIndex.InputRowHolder rowSupplier)protected voidOnheapIncrementalIndex. initAggs(AggregatorFactory[] metrics, IncrementalIndex.InputRowHolder inputRowHolder)protected ColumnSelectorFactoryIncrementalIndex. makeColumnSelectorFactory(AggregatorFactory agg, IncrementalIndex.InputRowHolder in)static ColumnSelectorFactoryIncrementalIndex. makeColumnSelectorFactory(VirtualColumns virtualColumns, IncrementalIndex.InputRowHolder inputRowHolder, AggregatorFactory agg)Column selector used at ingestion time for inputs to aggregators.AppendableIndexBuilderAppendableIndexBuilder. setSimpleTestingIndexSchema(Boolean rollup, Boolean preserveExistingMetrics, AggregatorFactory... metrics)A helper method to set a simple index schema with controllable metrics and rollup, and default values for the other parameters.AppendableIndexBuilderAppendableIndexBuilder. setSimpleTestingIndexSchema(AggregatorFactory... metrics)A helper method to set a simple index schema with only metrics and default values for the other parameters.IncrementalIndexSchema.BuilderIncrementalIndexSchema.Builder. withMetrics(AggregatorFactory... metrics)Constructors in org.apache.druid.segment.incremental with parameters of type AggregatorFactory Constructor Description IncrementalIndexSchema(long minTimestamp, TimestampSpec timestampSpec, Granularity gran, VirtualColumns virtualColumns, DimensionsSpec dimensionsSpec, AggregatorFactory[] metrics, boolean rollup)MetricDesc(int index, AggregatorFactory factory) -
Uses of AggregatorFactory in org.apache.druid.segment.serde
Methods in org.apache.druid.segment.serde with parameters of type AggregatorFactory Modifier and Type Method Description default TComplexMetricExtractor. extractValue(InputRow inputRow, String metricName, AggregatorFactory agg)
-