Modifier and Type | Class and Description |
---|---|
class |
AggregatorBase
Base implementation for concrete aggregators.
|
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 |
AggregatorBase.parent |
protected Aggregator[] |
AggregatorBase.subAggregators |
Modifier and Type | Method and Description |
---|---|
Aggregator[] |
SearchContextAggregations.aggregators() |
protected static Aggregator |
AggregatorFactory.asMultiBucketAggregator(AggregatorFactory factory,
AggregationContext context,
Aggregator parent)
Utility method.
|
Aggregator |
AggregatorFactory.create(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket)
Creates the aggregator
|
protected abstract Aggregator |
AggregatorFactory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Aggregator[] |
AggregatorFactories.createSubAggregators(Aggregator parent)
Create all aggregators so that they can be consumed with multiple
buckets.
|
Aggregator[] |
AggregatorFactories.createTopLevelAggregators(AggregationContext ctx) |
Aggregator |
AggregatorBase.parent() |
abstract Aggregator |
Aggregator.parent()
Return the parent aggregator.
|
Aggregator |
AggregatorBase.subAggregator(String aggName) |
abstract Aggregator |
Aggregator.subAggregator(String name)
Return the sub aggregator with the provided name.
|
Aggregator[] |
AggregatorBase.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.
|
protected static Aggregator |
AggregatorFactory.asMultiBucketAggregator(AggregatorFactory factory,
AggregationContext context,
Aggregator parent)
Utility method.
|
Aggregator |
AggregatorFactory.create(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket)
Creates the aggregator
|
protected abstract Aggregator |
AggregatorFactory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Aggregator[] |
AggregatorFactories.createSubAggregators(Aggregator parent)
Create all aggregators so that they can be consumed with multiple
buckets.
|
static boolean |
Aggregator.descendsFromBucketAggregator(Aggregator parent)
Returns whether one of the parents is a
BucketsAggregator . |
protected boolean |
AggregatorBase.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 |
---|
AggregatorBase(String name,
AggregatorFactories factories,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData)
Constructs a new Aggregator.
|
NonCollectingAggregator(String name,
AggregationContext context,
Aggregator parent,
AggregatorFactories subFactories,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
NonCollectingAggregator(String name,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
BucketsAggregator |
protected class |
DeferringBucketCollector.WrappedAggregator |
class |
SingleBucketAggregator
A bucket aggregator that doesn't create new buckets.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
DeferringBucketCollector.WrappedAggregator.parent() |
Aggregator |
DeferringBucketCollector.WrappedAggregator.subAggregator(String name) |
Aggregator |
DeferringBucketCollector.wrap(Aggregator in)
Wrap the provided aggregator so that it behaves (almost) as if it had
been collected directly.
|
Aggregator |
BestBucketsDeferringCollector.wrap(Aggregator in)
Wrap the provided aggregator so that it behaves (almost) as if it had
been collected directly.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
DeferringBucketCollector.wrap(Aggregator in)
Wrap the provided aggregator so that it behaves (almost) as if it had
been collected directly.
|
Aggregator |
BestBucketsDeferringCollector.wrap(Aggregator in)
Wrap the provided aggregator so that it behaves (almost) as if it had
been collected directly.
|
Constructor and Description |
---|
BucketsAggregator(String name,
AggregatorFactories factories,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
SingleBucketAggregator(String name,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
ParentToChildrenAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ParentToChildrenAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
ParentToChildrenAggregator.Factory.doCreateInternal(ValuesSource.Bytes.ParentChild valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ParentToChildrenAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
ParentToChildrenAggregator.Factory.doCreateInternal(ValuesSource.Bytes.ParentChild valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
ParentToChildrenAggregator(String name,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent,
String parentType,
org.apache.lucene.search.Query childFilter,
org.apache.lucene.search.Query parentFilter,
ValuesSource.Bytes.ParentChild valuesSource,
long maxOrd,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
FilterAggregator
Aggregate all docs that match a filter.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
FilterAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
FilterAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
FilterAggregator(String name,
org.apache.lucene.search.Weight filter,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
FiltersAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
FiltersAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
FiltersAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
FiltersAggregator(String name,
AggregatorFactories factories,
String[] keys,
org.apache.lucene.search.Weight[] filters,
boolean keyed,
String otherBucketKey,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
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,
org.elasticsearch.search.aggregations.bucket.geogrid.GeoHashGridParser.GeoGridFactory.CellIdSource valuesSource,
int requiredSize,
int shardSize,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
GlobalAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
GlobalAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
GlobalAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
HistogramAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
HistogramAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HistogramAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
HistogramAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HistogramAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
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,
InternalHistogram.Factory<?> histogramFactory,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
MissingAggregator |
Modifier and Type | Method and Description |
---|---|
protected MissingAggregator |
MissingAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected MissingAggregator |
MissingAggregator.Factory.doCreateInternal(ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
MissingAggregator(String name,
AggregatorFactories factories,
ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
NestedAggregator |
class |
ReverseNestedAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ReverseNestedAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Aggregator |
NestedAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ReverseNestedAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Aggregator |
NestedAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
NestedAggregator(String name,
AggregatorFactories factories,
ObjectMapper objectMapper,
AggregationContext aggregationContext,
Aggregator parentAggregator,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
ReverseNestedAggregator(String name,
AggregatorFactories factories,
ObjectMapper objectMapper,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
RangeAggregator |
static class |
RangeAggregator.Unmapped |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
RangeAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
RangeAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
RangeAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
RangeAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
RangeAggregator.Unmapped(String name,
List<RangeAggregator.Range> ranges,
boolean keyed,
ValueFormat format,
AggregationContext context,
Aggregator parent,
InternalRange.Factory factory,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
RangeAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
InternalRange.Factory rangeFactory,
List<RangeAggregator.Range> ranges,
boolean keyed,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
DiversifiedBytesHashSamplerAggregator
Alternative, faster implementation for converting String keys to longs but
with the potential for hash collisions.
|
class |
DiversifiedMapSamplerAggregator |
class |
DiversifiedNumericSamplerAggregator |
class |
DiversifiedOrdinalsSamplerAggregator |
class |
SamplerAggregator
Aggregate on only the top-scoring docs on a shard.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
SamplerAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SamplerAggregator.DiversifiedFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SamplerAggregator.DiversifiedFactory.doCreateInternal(ValuesSource valuesSource,
AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
SamplerAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SamplerAggregator.DiversifiedFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SamplerAggregator.DiversifiedFactory.doCreateInternal(ValuesSource valuesSource,
AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected boolean |
SamplerAggregator.shouldDefer(Aggregator aggregator) |
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.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SignificantTermsAggregatorFactory.doCreateInternal(ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SignificantTermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SignificantTermsAggregatorFactory.doCreateInternal(ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
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.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TermsAggregatorFactory.doCreateInternal(ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected abstract Comparator<Terms.Bucket> |
Terms.Order.comparator(Aggregator aggregator) |
protected Aggregator |
TermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TermsAggregatorFactory.doCreateInternal(ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
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,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
NumericMetricsAggregator.MultiValue(String name,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
NumericMetricsAggregator.SingleValue(String name,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
AvgAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
AvgAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
AvgAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
AvgAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
AvgAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
AvgAggregator(String name,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
CardinalityAggregator
An aggregator that computes approximate counts of unique values.
|
Constructor and Description |
---|
CardinalityAggregator(String name,
ValuesSource valuesSource,
int precision,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
GeoBoundsAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
GeoBoundsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
GeoBoundsAggregator.Factory.doCreateInternal(ValuesSource.GeoPoint valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
GeoBoundsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
GeoBoundsAggregator.Factory.doCreateInternal(ValuesSource.GeoPoint valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
GeoBoundsAggregator(String name,
AggregationContext aggregationContext,
Aggregator parent,
ValuesSource.GeoPoint valuesSource,
boolean wrapLongitude,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
GeoCentroidAggregator
A geo metric aggregator that computes a geo-centroid from a
geo_point type field |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
GeoCentroidAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
GeoCentroidAggregator.Factory.doCreateInternal(ValuesSource.GeoPoint valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
GeoCentroidAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
GeoCentroidAggregator.Factory.doCreateInternal(ValuesSource.GeoPoint valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
GeoCentroidAggregator(String name,
AggregationContext aggregationContext,
Aggregator parent,
ValuesSource.GeoPoint valuesSource,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
MaxAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MaxAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
MaxAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MaxAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
MaxAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
MaxAggregator(String name,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
MinAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MinAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
MinAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
MinAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
MinAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
MinAggregator(String name,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractHDRPercentilesAggregator |
class |
HDRPercentileRanksAggregator |
class |
HDRPercentilesAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
HDRPercentileRanksAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HDRPercentilesAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HDRPercentileRanksAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HDRPercentilesAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
HDRPercentileRanksAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HDRPercentilesAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HDRPercentileRanksAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
HDRPercentilesAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
AbstractHDRPercentilesAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] keys,
int numberOfSignificantValueDigits,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
HDRPercentileRanksAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
int numberOfSignificantValueDigits,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
HDRPercentilesAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
int numberOfSignificantValueDigits,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTDigestPercentilesAggregator |
class |
TDigestPercentileRanksAggregator |
class |
TDigestPercentilesAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
TDigestPercentilesAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TDigestPercentileRanksAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TDigestPercentilesAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TDigestPercentileRanksAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
TDigestPercentilesAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TDigestPercentileRanksAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TDigestPercentilesAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
TDigestPercentileRanksAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
AbstractTDigestPercentilesAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] keys,
double compression,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
TDigestPercentileRanksAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
double compression,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
TDigestPercentilesAggregator(String name,
ValuesSource.Numeric valuesSource,
AggregationContext context,
Aggregator parent,
double[] percents,
double compression,
boolean keyed,
ValueFormatter formatter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
ScriptedMetricAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ScriptedMetricAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ScriptedMetricAggregator.Factory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
ScriptedMetricAggregator(String name,
Script initScript,
Script mapScript,
Script combineScript,
Script reduceScript,
Map<String,Object> params,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
StatsAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
StatsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
StatsAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
StatsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
StatsAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
StatsAggregator(String name,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
ExtendedStatsAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ExtendedStatsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
ExtendedStatsAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ExtendedStatsAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
ExtendedStatsAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
ExtendedStatsAggregator(String name,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
double sigma,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
SumAggregator |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SumAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SumAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
SumAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
SumAggregator.Factory.doCreateInternal(ValuesSource.Numeric valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
SumAggregator(String name,
ValuesSource.Numeric valuesSource,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Class and Description |
---|---|
class |
TopHitsAggregator |
Modifier and Type | Method and Description |
---|---|
Aggregator |
TopHitsAggregator.Factory.createInternal(AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
TopHitsAggregator.Factory.createInternal(AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
TopHitsAggregator(FetchPhase fetchPhase,
SubSearchContext subSearchContext,
String name,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
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.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
ValueCountAggregator.Factory.doCreateInternal(VS valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
ValueCountAggregator.Factory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected Aggregator |
ValueCountAggregator.Factory.doCreateInternal(VS valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Constructor and Description |
---|
ValueCountAggregator(String name,
ValuesSource valuesSource,
ValueFormatter formatter,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
ValuesSourceAggregatorFactory.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.doCreateInternal(VS valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Aggregator |
AggregationPath.resolveAggregator(Aggregator root)
Resolves the aggregator pointed by this path using the given root as a point of reference.
|
Aggregator |
AggregationPath.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.createInternal(AggregationContext context,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected abstract Aggregator |
ValuesSourceAggregatorFactory.doCreateInternal(VS valuesSource,
AggregationContext aggregationContext,
Aggregator parent,
boolean collectsFromSingleBucket,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
Aggregator |
AggregationPath.resolveAggregator(Aggregator root)
Resolves the aggregator pointed by this path using the given root as a point of reference.
|
Aggregator |
AggregationPath.resolveTopmostAggregator(Aggregator root)
Resolves the topmost aggregator pointed by this path using the given root as a point of reference.
|
void |
AggregationPath.validate(Aggregator root)
Validates this path over the given aggregator as a point of reference.
|
Copyright © 2009–2016. All rights reserved.