Modifier and Type | Class and Description |
---|---|
class |
NonCollectingAggregator
An aggregator that is not collected, this can typically be used when running an aggregation over a field that doesn't have
a mapping.
|
Modifier and Type | Field and Description |
---|---|
protected Aggregator |
Aggregator.parent |
protected Aggregator[] |
Aggregator.subAggregators |
Modifier and Type | Method and Description |
---|---|
Aggregator[] |
SearchContextAggregations.aggregators() |
abstract Aggregator |
AggregatorFactory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount)
Creates the aggregator
|
Aggregator[] |
AggregatorFactories.createSubAggregators(Aggregator parent,
long estimatedBucketsCount)
Create all aggregators so that they can be consumed with multiple buckets.
|
Aggregator[] |
AggregatorFactories.createTopLevelAggregators(AggregationContext ctx) |
Aggregator |
Aggregator.parent() |
Aggregator |
Aggregator.subAggregator(String aggName) |
Aggregator[] |
Aggregator.subAggregators() |
Modifier and Type | Method and Description |
---|---|
void |
SearchContextAggregations.aggregators(Aggregator[] aggregators)
Registers all the created aggregators (top level aggregators) for the search execution context.
|
abstract Aggregator |
AggregatorFactory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount)
Creates the aggregator
|
Aggregator[] |
AggregatorFactories.createSubAggregators(Aggregator parent,
long estimatedBucketsCount)
Create all aggregators so that they can be consumed with multiple buckets.
|
static boolean |
Aggregator.hasParentBucketAggregator(Aggregator parent)
Returns whether any of the parent aggregators has
Aggregator.BucketAggregationMode.PER_BUCKET as a bucket aggregation mode. |
protected boolean |
Aggregator.shouldDefer(Aggregator aggregator)
This method should be overidden by subclasses that want to defer calculation
of a child aggregation until a first pass is complete and a set of buckets has
been pruned.
|
Constructor and Description |
---|
Aggregator(String name,
Aggregator.BucketAggregationMode bucketAggregationMode,
AggregatorFactories factories,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent)
Constructs a new Aggregator.
|
NonCollectingAggregator(String name,
AggregationContext context,
Aggregator parent) |
NonCollectingAggregator(String name,
AggregationContext context,
Aggregator parent,
AggregatorFactories subFactories) |
Constructor and Description |
---|
AggregationsCollector(Collection<Aggregator> collectors,
AggregationContext aggregationContext) |
Modifier and Type | Class and Description |
---|---|
class |
BucketsAggregator |
class |
SingleBucketAggregator
A bucket aggregator that doesn't create new buckets.
|
Constructor and Description |
---|
BucketsAggregator(String name,
Aggregator.BucketAggregationMode bucketAggregationMode,
AggregatorFactories factories,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent) |
SingleBucketAggregator(String name,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
ParentToChildrenAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ParentToChildrenAggregator.Factory.create(ValuesSource.Bytes.ParentChild valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
ParentToChildrenAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ParentToChildrenAggregator.Factory.create(ValuesSource.Bytes.ParentChild valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
ParentToChildrenAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
ParentToChildrenAggregator(String name,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent,
String parentType,
org.apache.lucene.search.Filter childFilter,
org.apache.lucene.search.Filter parentFilter,
ValuesSource.Bytes.ParentChild valuesSource,
long maxOrd) |
Modifier and Type | Class and Description |
---|---|
class |
FilterAggregator
Aggregate all docs that match a filter.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
FilterAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
FilterAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Constructor and Description |
---|
FilterAggregator(String name,
org.apache.lucene.search.Filter filter,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
FiltersAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
FiltersAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
FiltersAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Constructor and Description |
---|
FiltersAggregator(String name,
AggregatorFactories factories,
List<org.elasticsearch.search.aggregations.bucket.filters.FiltersAggregator.KeyedFilter> filters,
boolean keyed,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
GeoHashGridAggregator
Aggregates data expressed as GeoHash longs (for efficiency's sake) but formats results as Geohash strings.
|
Constructor and Description |
---|
GeoHashGridAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
int requiredSize,
int shardSize,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
GlobalAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
GlobalAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
GlobalAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Class and Description |
---|---|
class |
HistogramAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
HistogramAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
HistogramAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
HistogramAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
HistogramAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
HistogramAggregator(String name,
AggregatorFactories factories,
Rounding rounding,
org.elasticsearch.search.aggregations.bucket.histogram.InternalOrder order,
boolean keyed,
long minDocCount,
ExtendedBounds extendedBounds,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
long initialCapacity,
org.elasticsearch.search.aggregations.bucket.histogram.InternalHistogram.Factory<?> histogramFactory,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
MissingAggregator |
Modifier and Type | Method and Description |
---|---|
protected MissingAggregator |
MissingAggregator.Factory.create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected MissingAggregator |
MissingAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
MissingAggregator(String name,
AggregatorFactories factories,
ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
NestedAggregator |
class |
ReverseNestedAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
NestedAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Aggregator |
ReverseNestedAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
NestedAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Aggregator |
ReverseNestedAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Constructor and Description |
---|
NestedAggregator(String name,
AggregatorFactories factories,
ObjectMapper objectMapper,
AggregationContext aggregationContext,
Aggregator parentAggregator) |
ReverseNestedAggregator(String name,
AggregatorFactories factories,
ObjectMapper objectMapper,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
RangeAggregator |
static class |
RangeAggregator.Unmapped |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
RangeAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
RangeAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
RangeAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
RangeAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
RangeAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
InternalRange.Factory rangeFactory,
List<RangeAggregator.Range> ranges,
boolean keyed,
AggregationContext aggregationContext,
Aggregator parent) |
Unmapped(String name,
List<RangeAggregator.Range> ranges,
boolean keyed,
ValueFormat format,
AggregationContext context,
Aggregator parent,
InternalRange.Factory factory) |
Modifier and Type | Class and Description |
---|---|
class |
GlobalOrdinalsSignificantTermsAggregator
An global ordinal based implementation of significant terms, based on
SignificantStringTermsAggregator . |
static class |
GlobalOrdinalsSignificantTermsAggregator.WithHash |
class |
SignificantLongTermsAggregator |
class |
SignificantStringTermsAggregator
An aggregator of significant string values.
|
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SignificantTermsAggregatorFactory.create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
SignificantTermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SignificantTermsAggregatorFactory.create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
SignificantTermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
DoubleTermsAggregator |
class |
GlobalOrdinalsStringTermsAggregator
An aggregator of string values that relies on global ordinals in order to build buckets.
|
static class |
GlobalOrdinalsStringTermsAggregator.LowCardinality
Variant of
GlobalOrdinalsStringTermsAggregator that resolves global ordinals post segment collection
instead of on the fly for each match.This is beneficial for low cardinality fields, because it can reduce
the amount of look-ups significantly. |
static class |
GlobalOrdinalsStringTermsAggregator.WithHash
Variant of
GlobalOrdinalsStringTermsAggregator that rebases hashes in order to make them dense. |
class |
LongTermsAggregator |
class |
StringTermsAggregator
An aggregator of string values.
|
class |
TermsAggregator |
Modifier and Type | Field and Description |
---|---|
protected Set<Aggregator> |
TermsAggregator.aggsUsedForSorting |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
TermsAggregatorFactory.create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
TermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected abstract Comparator<Terms.Bucket> |
Terms.Order.comparator(Aggregator aggregator) |
protected Aggregator |
TermsAggregatorFactory.create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
TermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
static long |
TermsAggregatorFactory.estimatedBucketCount(ValuesSource valuesSource,
Aggregator parent) |
protected boolean |
TermsAggregator.shouldDefer(Aggregator aggregator) |
Modifier and Type | Class and Description |
---|---|
class |
MetricsAggregator |
class |
NumericMetricsAggregator |
static class |
NumericMetricsAggregator.MultiValue |
static class |
NumericMetricsAggregator.SingleValue |
Constructor and Description |
---|
MetricsAggregator(String name,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent) |
MetricsAggregator(String name,
long estimatedBucketsCount,
Aggregator.BucketAggregationMode bucketAggregationMode,
AggregationContext context,
Aggregator parent) |
MultiValue(String name,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent) |
SingleValue(String name,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
AvgAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
AvgAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
AvgAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
AvgAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
AvgAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
AvgAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
CardinalityAggregator
An aggregator that computes approximate counts of unique values.
|
Constructor and Description |
---|
CardinalityAggregator(String name,
long estimatedBucketsCount,
ValuesSource valuesSource,
boolean rehash,
int precision,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
GeoBoundsAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
GeoBoundsAggregator.Factory.create(ValuesSource.GeoPoint valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
GeoBoundsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
GeoBoundsAggregator.Factory.create(ValuesSource.GeoPoint valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
GeoBoundsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
GeoBoundsAggregator(String name,
long estimatedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent,
ValuesSource.GeoPoint valuesSource,
boolean wrapLongitude) |
Modifier and Type | Class and Description |
---|---|
class |
MaxAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MaxAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
MaxAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MaxAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
MaxAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
MaxAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
MinAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MinAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
MinAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MinAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
MinAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
MinAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPercentilesAggregator |
class |
PercentileRanksAggregator |
class |
PercentilesAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
PercentilesAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
PercentileRanksAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
PercentilesAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
PercentileRanksAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
PercentilesAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
PercentileRanksAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
PercentilesAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
PercentileRanksAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
AbstractPercentilesAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] keys,
double compression,
boolean keyed,
ValueFormatter formatter) |
PercentileRanksAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
double compression,
boolean keyed,
ValueFormatter formatter) |
PercentilesAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
double compression,
boolean keyed,
ValueFormatter formatter) |
Modifier and Type | Class and Description |
---|---|
class |
ScriptedMetricAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ScriptedMetricAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ScriptedMetricAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Constructor and Description |
---|
ScriptedMetricAggregator(String name,
String scriptLang,
ScriptService.ScriptType initScriptType,
String initScript,
ScriptService.ScriptType mapScriptType,
String mapScript,
ScriptService.ScriptType combineScriptType,
String combineScript,
ScriptService.ScriptType reduceScriptType,
String reduceScript,
Map<String,Object> params,
Map<String,Object> reduceParams,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
StatsAggegator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
StatsAggegator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
StatsAggegator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
StatsAggegator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
StatsAggegator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
StatsAggegator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
ExtendedStatsAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ExtendedStatsAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
ExtendedStatsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ExtendedStatsAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
ExtendedStatsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
ExtendedStatsAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
double sigma) |
Modifier and Type | Class and Description |
---|---|
class |
SumAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SumAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
SumAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SumAggregator.Factory.create(ValuesSource.Numeric valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
SumAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
SumAggregator(String name,
long estimatedBucketsCount,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
TopHitsAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
TopHitsAggregator.Factory.create(AggregationContext aggregationContext,
Aggregator parent,
long expectedBucketsCount) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
TopHitsAggregator.Factory.create(AggregationContext aggregationContext,
Aggregator parent,
long expectedBucketsCount) |
Constructor and Description |
---|
TopHitsAggregator(FetchPhase fetchPhase,
SubSearchContext subSearchContext,
String name,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent) |
Modifier and Type | Class and Description |
---|---|
class |
ValueCountAggregator
A field data based aggregator that counts the number of values a specific field has within the aggregation context.
|
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ValueCountAggregator.Factory.create(VS valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
ValueCountAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ValueCountAggregator.Factory.create(VS valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
ValueCountAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
ValueCountAggregator(String name,
long expectedBucketsCount,
ValuesSource valuesSource,
ValueFormatter formatter,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ValuesSourceAggregatorFactory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.create(VS valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Aggregator |
OrderPath.resolveAggregator(Aggregator root)
Resolves the aggregator pointed by this path using the given root as a point of reference.
|
Aggregator |
OrderPath.resolveTopmostAggregator(Aggregator root)
Resolves the topmost aggregator pointed by this path using the given root as a point of reference.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
ValuesSourceAggregatorFactory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.create(VS valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
Aggregator |
OrderPath.resolveAggregator(Aggregator root)
Resolves the aggregator pointed by this path using the given root as a point of reference.
|
Aggregator |
OrderPath.resolveTopmostAggregator(Aggregator root)
Resolves the topmost aggregator pointed by this path using the given root as a point of reference.
|
void |
OrderPath.validate(Aggregator root)
Validates this path over the given aggregator as a point of reference.
|
Copyright © 2009–2015. All rights reserved.