| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
Druids.TimeseriesQueryBuilder.getAggregatorSpecs() |
| Modifier and Type | Method and Description |
|---|---|
Druids.TimeseriesQueryBuilder |
Druids.TimeseriesQueryBuilder.aggregators(List<AggregatorFactory> a) |
static List<PostAggregator> |
Queries.decoratePostAggregators(List<PostAggregator> postAggs,
Map<String,AggregatorFactory> aggFactories) |
static int |
DruidMetrics.findNumComplexAggs(List<AggregatorFactory> aggs) |
static List<PostAggregator> |
Queries.prepareAggregations(List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs)
Deprecated.
|
static List<PostAggregator> |
Queries.prepareAggregations(List<String> otherOutputNames,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs)
Returns decorated post-aggregators, based on original un-decorated post-aggregators.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CountAggregatorFactory |
class |
DoubleMaxAggregatorFactory |
class |
DoubleMinAggregatorFactory |
class |
DoubleSumAggregatorFactory |
class |
FilteredAggregatorFactory |
class |
FloatMaxAggregatorFactory |
class |
FloatMinAggregatorFactory |
class |
FloatSumAggregatorFactory |
class |
HistogramAggregatorFactory |
class |
JavaScriptAggregatorFactory |
class |
LongMaxAggregatorFactory |
class |
LongMinAggregatorFactory |
class |
LongSumAggregatorFactory |
class |
SimpleDoubleAggregatorFactory |
class |
SimpleFloatAggregatorFactory |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
FilteredAggregatorFactory.getAggregator() |
AggregatorFactory |
LongSumAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
LongMinAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
LongMaxAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
JavaScriptAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
HistogramAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
FloatSumAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
FloatMinAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
FloatMaxAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
FilteredAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
DoubleSumAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
DoubleMinAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
DoubleMaxAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
CountAggregatorFactory.getCombiningFactory() |
abstract AggregatorFactory |
AggregatorFactory.getCombiningFactory()
Returns an AggregatorFactory that can be used to combine the output of aggregators from this factory.
|
AggregatorFactory |
SimpleFloatAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
SimpleDoubleAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
LongSumAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
LongMinAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
LongMaxAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
JavaScriptAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
AggregatorFactory.getMergingFactory(AggregatorFactory other)
Returns an AggregatorFactory that can be used to merge the output of aggregators from this factory and
other factory.
|
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).
|
| Modifier and Type | Method and Description |
|---|---|
static io.druid.java.util.common.Pair<List<AggregatorFactory>,List<PostAggregator>> |
AggregatorUtil.condensedAggregators(List<AggregatorFactory> aggList,
List<PostAggregator> postAggList,
String metric) |
List<AggregatorFactory> |
LongSumAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
LongMinAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
LongMaxAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
JavaScriptAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
HistogramAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
FloatSumAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
FloatMinAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
FloatMaxAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
FilteredAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
DoubleSumAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
DoubleMinAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
DoubleMaxAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
CountAggregatorFactory.getRequiredColumns() |
abstract List<AggregatorFactory> |
AggregatorFactory.getRequiredColumns()
Gets a list of all columns that this AggregatorFactory will scan
|
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
SimpleFloatAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
SimpleDoubleAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
LongSumAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
LongMinAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
LongMaxAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
JavaScriptAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
AggregatorFactory.getMergingFactory(AggregatorFactory other)
Returns an AggregatorFactory that can be used to merge the output of aggregators from this factory and
other factory.
|
Object |
MetricManipulationFn.manipulate(AggregatorFactory factory,
Object object) |
| Modifier and Type | Method and Description |
|---|---|
static io.druid.java.util.common.Pair<List<AggregatorFactory>,List<PostAggregator>> |
AggregatorUtil.condensedAggregators(List<AggregatorFactory> aggList,
List<PostAggregator> postAggList,
String metric) |
PostAggregator |
PostAggregator.decorate(Map<String,AggregatorFactory> aggregators)
Returns a richer post aggregator which are built from the given aggregators with their names and some accessible
environmental variables such as ones in the object scope.
|
| Constructor and Description |
|---|
AggregatorFactoryNotMergeableException(AggregatorFactory af1,
AggregatorFactory af2) |
FilteredAggregatorFactory(AggregatorFactory delegate,
DimFilter filter) |
| Modifier and Type | Class and Description |
|---|---|
class |
CardinalityAggregatorFactory |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
CardinalityAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
CardinalityAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
CardinalityAggregatorFactory.getRequiredColumns() |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
CardinalityAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Class and Description |
|---|---|
class |
DoubleFirstAggregatorFactory |
class |
FloatFirstAggregatorFactory |
class |
LongFirstAggregatorFactory |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
LongFirstAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
FloatFirstAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
DoubleFirstAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
LongFirstAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
FloatFirstAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
DoubleFirstAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
LongFirstAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
FloatFirstAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
DoubleFirstAggregatorFactory.getRequiredColumns() |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
LongFirstAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
FloatFirstAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
DoubleFirstAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Class and Description |
|---|---|
class |
HyperUniquesAggregatorFactory |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
HyperUniquesAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
HyperUniquesAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
HyperUniquesAggregatorFactory.getRequiredColumns() |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
HyperUniquesAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Method and Description |
|---|---|
HyperUniqueFinalizingPostAggregator |
HyperUniqueFinalizingPostAggregator.decorate(Map<String,AggregatorFactory> aggregators) |
| Modifier and Type | Class and Description |
|---|---|
class |
DoubleLastAggregatorFactory |
class |
FloatLastAggregatorFactory |
class |
LongLastAggregatorFactory |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
LongLastAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
FloatLastAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
DoubleLastAggregatorFactory.getCombiningFactory() |
AggregatorFactory |
LongLastAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
FloatLastAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
DoubleLastAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
LongLastAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
FloatLastAggregatorFactory.getRequiredColumns() |
List<AggregatorFactory> |
DoubleLastAggregatorFactory.getRequiredColumns() |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory |
LongLastAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
FloatLastAggregatorFactory.getMergingFactory(AggregatorFactory other) |
AggregatorFactory |
DoubleLastAggregatorFactory.getMergingFactory(AggregatorFactory other) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
GroupByQuery.getAggregatorSpecs() |
| Modifier and Type | Method and Description |
|---|---|
GroupByQuery.Builder |
GroupByQuery.Builder.addAggregator(AggregatorFactory aggregator) |
| Modifier and Type | Method and Description |
|---|---|
GroupByQuery.Builder |
GroupByQuery.Builder.setAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs) |
GroupByQuery |
GroupByQuery.withAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs) |
| Constructor and Description |
|---|
GroupByQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
VirtualColumns virtualColumns,
DimFilter dimFilter,
io.druid.java.util.common.granularity.Granularity granularity,
List<DimensionSpec> dimensions,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs,
HavingSpec havingSpec,
LimitSpec limitSpec,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
Grouper.BufferComparator |
Grouper.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 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.
|
| Constructor and Description |
|---|
AbstractBufferHashGrouper(com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
Grouper.KeySerde<KeyType> keySerde,
AggregatorFactory[] aggregatorFactories,
int bufferGrouperMaxSize) |
BufferArrayGrouper(com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
ColumnSelectorFactory columnSelectorFactory,
AggregatorFactory[] aggregatorFactories,
int cardinality) |
BufferHashGrouper(com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
Grouper.KeySerde<KeyType> keySerde,
ColumnSelectorFactory columnSelectorFactory,
AggregatorFactory[] aggregatorFactories,
int bufferGrouperMaxSize,
float maxLoadFactor,
int initialBuckets,
boolean useDefaultSorting) |
ConcurrentGrouper(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,
int concurrencyHint,
DefaultLimitSpec limitSpec,
boolean sortHasNonGroupingFields,
com.google.common.util.concurrent.ListeningExecutorService grouperSorter,
int priority,
boolean hasQueryTimeout,
long queryTimeoutAt,
int mergeBufferSize) |
LimitedBufferHashGrouper(com.google.common.base.Supplier<ByteBuffer> bufferSupplier,
Grouper.KeySerde<KeyType> keySerde,
ColumnSelectorFactory columnSelectorFactory,
AggregatorFactory[] aggregatorFactories,
int bufferGrouperMaxSize,
float maxLoadFactor,
int initialBuckets,
int limit,
boolean sortHasNonGroupingFields) |
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 |
|---|---|
com.google.common.base.Function<io.druid.java.util.common.guava.Sequence<io.druid.data.input.Row>,io.druid.java.util.common.guava.Sequence<io.druid.data.input.Row>> |
NoopLimitSpec.build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs) |
com.google.common.base.Function<io.druid.java.util.common.guava.Sequence<io.druid.data.input.Row>,io.druid.java.util.common.guava.Sequence<io.druid.data.input.Row>> |
LimitSpec.build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs)
Returns a function that applies a limit to an input sequence that is assumed to be sorted on dimensions.
|
com.google.common.base.Function<io.druid.java.util.common.guava.Sequence<io.druid.data.input.Row>,io.druid.java.util.common.guava.Sequence<io.druid.data.input.Row>> |
DefaultLimitSpec.build(List<DimensionSpec> dimensions,
List<AggregatorFactory> aggs,
List<PostAggregator> postAggs) |
static int |
OrderByColumnSpec.getAggIndexForOrderBy(OrderByColumnSpec orderSpec,
List<AggregatorFactory> aggregatorFactories) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,AggregatorFactory> |
SegmentAnalysis.getAggregators() |
| Constructor and Description |
|---|
SegmentAnalysis(String id,
List<org.joda.time.Interval> interval,
Map<String,ColumnAnalysis> columns,
long size,
long numRows,
Map<String,AggregatorFactory> aggregators,
io.druid.data.input.impl.TimestampSpec timestampSpec,
io.druid.java.util.common.granularity.Granularity queryGranularity,
Boolean rollup) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
TimeseriesQuery.getAggregatorSpecs() |
| Constructor and Description |
|---|
TimeseriesBinaryFn(io.druid.java.util.common.granularity.Granularity granularity,
List<AggregatorFactory> aggregations) |
TimeseriesQuery(DataSource dataSource,
QuerySegmentSpec querySegmentSpec,
boolean descending,
VirtualColumns virtualColumns,
DimFilter dimFilter,
io.druid.java.util.common.granularity.Granularity granularity,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
List<AggregatorFactory> |
TopNQueryBuilder.getAggregatorSpecs() |
List<AggregatorFactory> |
TopNQuery.getAggregatorSpecs() |
| Modifier and Type | Method and Description |
|---|---|
TopNQueryBuilder |
TopNQueryBuilder.aggregators(List<? extends AggregatorFactory> a) |
protected static String[] |
TopNQueryQueryToolChest.extractFactoryName(List<AggregatorFactory> aggregatorFactories) |
Comparator |
TopNMetricSpec.getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
Comparator |
NumericTopNMetricSpec.getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
Comparator |
LexicographicTopNMetricSpec.getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
Comparator |
InvertedTopNMetricSpec.getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
Comparator |
DimensionTopNMetricSpec.getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
Comparator |
AlphaNumericTopNMetricSpec.getComparator(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
TopNResultBuilder |
TopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
NumericTopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
LexicographicTopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
InvertedTopNMetricSpec.getResultBuilder(org.joda.time.DateTime timestamp,
DimensionSpec dimSpec,
int threshold,
Comparator comparator,
List<AggregatorFactory> aggFactories,
List<PostAggregator> postAggs) |
TopNResultBuilder |
DimensionTopNMetricSpec.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) |
void |
TopNMetricSpec.verifyPreconditions(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
void |
NumericTopNMetricSpec.verifyPreconditions(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
void |
LexicographicTopNMetricSpec.verifyPreconditions(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
void |
InvertedTopNMetricSpec.verifyPreconditions(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
void |
DimensionTopNMetricSpec.verifyPreconditions(List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs) |
TopNQuery |
TopNQuery.withAggregatorSpecs(List<AggregatorFactory> aggregatorSpecs) |
| Constructor and Description |
|---|
TopNBinaryFn(io.druid.java.util.common.granularity.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,
io.druid.java.util.common.granularity.Granularity granularity,
List<AggregatorFactory> aggregatorSpecs,
List<PostAggregator> postAggregatorSpecs,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory[] |
Metadata.getAggregators() |
| Modifier and Type | Method and Description |
|---|---|
File |
IndexMergerV9.append(List<IndexableAdapter> indexes,
AggregatorFactory[] aggregators,
File outDir,
IndexSpec indexSpec) |
File |
IndexMerger.append(List<IndexableAdapter> indexes,
AggregatorFactory[] aggregators,
File outDir,
IndexSpec indexSpec) |
File |
IndexMergerV9.append(List<IndexableAdapter> indexes,
AggregatorFactory[] aggregators,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
File |
IndexMerger.append(List<IndexableAdapter> indexes,
AggregatorFactory[] aggregators,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
File |
IndexMergerV9.merge(List<IndexableAdapter> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
File |
IndexMerger.merge(List<IndexableAdapter> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
File |
IndexMergerV9.merge(List<IndexableAdapter> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
File |
IndexMerger.merge(List<IndexableAdapter> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
static Metadata |
Metadata.merge(List<Metadata> toBeMerged,
AggregatorFactory[] overrideMergedAggregators) |
File |
IndexMergerV9.mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
File |
IndexMerger.mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec) |
File |
IndexMergerV9.mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
File |
IndexMerger.mergeQueryableIndex(List<QueryableIndex> indexes,
boolean rollup,
AggregatorFactory[] metricAggs,
File outDir,
IndexSpec indexSpec,
ProgressIndicator progress) |
Metadata |
Metadata.setAggregators(AggregatorFactory[] aggregators) |
| Constructor and Description |
|---|
RowboatMergeFunction(AggregatorFactory[] metricAggs) |
| Modifier and Type | Method and Description |
|---|---|
AggregatorFactory[] |
IncrementalIndex.getMetricAggs() |
AggregatorFactory[] |
IncrementalIndexSchema.getMetrics() |
| Modifier and Type | Method and Description |
|---|---|
protected Integer |
OnheapIncrementalIndex.addToFacts(AggregatorFactory[] metrics,
boolean deserializeComplexMetrics,
boolean reportParseExceptions,
io.druid.data.input.InputRow row,
AtomicInteger numEntries,
IncrementalIndex.TimeAndDims key,
ThreadLocal<io.druid.data.input.InputRow> rowContainer,
com.google.common.base.Supplier<io.druid.data.input.InputRow> rowSupplier) |
protected Integer |
OffheapIncrementalIndex.addToFacts(AggregatorFactory[] metrics,
boolean deserializeComplexMetrics,
boolean reportParseExceptions,
io.druid.data.input.InputRow row,
AtomicInteger numEntries,
IncrementalIndex.TimeAndDims key,
ThreadLocal<io.druid.data.input.InputRow> rowContainer,
com.google.common.base.Supplier<io.druid.data.input.InputRow> rowSupplier) |
protected abstract Integer |
IncrementalIndex.addToFacts(AggregatorFactory[] metrics,
boolean deserializeComplexMetrics,
boolean reportParseExceptions,
io.druid.data.input.InputRow row,
AtomicInteger numEntries,
IncrementalIndex.TimeAndDims key,
ThreadLocal<io.druid.data.input.InputRow> rowContainer,
com.google.common.base.Supplier<io.druid.data.input.InputRow> rowSupplier) |
protected Aggregator[] |
OnheapIncrementalIndex.initAggs(AggregatorFactory[] metrics,
com.google.common.base.Supplier<io.druid.data.input.InputRow> rowSupplier,
boolean deserializeComplexMetrics,
boolean concurrentEventAdd) |
protected BufferAggregator[] |
OffheapIncrementalIndex.initAggs(AggregatorFactory[] metrics,
com.google.common.base.Supplier<io.druid.data.input.InputRow> rowSupplier,
boolean deserializeComplexMetrics,
boolean concurrentEventAdd) |
protected abstract AggregatorType[] |
IncrementalIndex.initAggs(AggregatorFactory[] metrics,
com.google.common.base.Supplier<io.druid.data.input.InputRow> rowSupplier,
boolean deserializeComplexMetrics,
boolean concurrentEventAdd) |
protected ColumnSelectorFactory |
IncrementalIndex.makeColumnSelectorFactory(AggregatorFactory agg,
com.google.common.base.Supplier<io.druid.data.input.InputRow> in,
boolean deserializeComplexMetrics) |
static ColumnSelectorFactory |
IncrementalIndex.makeColumnSelectorFactory(VirtualColumns virtualColumns,
AggregatorFactory agg,
com.google.common.base.Supplier<io.druid.data.input.InputRow> in,
boolean deserializeComplexMetrics)
Column selector used at ingestion time for inputs to aggregators.
|
IncrementalIndex.Builder |
IncrementalIndex.Builder.setSimpleTestingIndexSchema(AggregatorFactory... metrics)
A helper method to set a simple index schema with only metrics and default values for the other parameters.
|
IncrementalIndexSchema.Builder |
IncrementalIndexSchema.Builder.withMetrics(AggregatorFactory... metrics) |
| Constructor and Description |
|---|
IncrementalIndexSchema(long minTimestamp,
io.druid.data.input.impl.TimestampSpec timestampSpec,
io.druid.java.util.common.granularity.Granularity gran,
VirtualColumns virtualColumns,
io.druid.data.input.impl.DimensionsSpec dimensionsSpec,
AggregatorFactory[] metrics,
boolean rollup) |
MetricDesc(int index,
AggregatorFactory factory) |
Copyright © 2011–2017. All rights reserved.