Modifier and Type | Field and Description |
---|---|
protected AggregationContext |
Aggregator.context |
Modifier and Type | Method and Description |
---|---|
AggregationContext |
SearchContextAggregations.aggregationContext() |
AggregationContext |
Aggregator.context() |
Modifier and Type | Method and Description |
---|---|
void |
SearchContextAggregations.aggregationContext(AggregationContext aggregationContext) |
abstract Aggregator |
AggregatorFactory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount)
Creates the aggregator
|
Aggregator[] |
AggregatorFactories.createTopLevelAggregators(AggregationContext ctx) |
Constructor and Description |
---|
AggregationsCollector(Collection<Aggregator> collectors,
AggregationContext aggregationContext) |
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) |
RecordingPerReaderBucketCollector(AggregationContext context) |
Constructor and Description |
---|
BucketsAggregator(String name,
Aggregator.BucketAggregationMode bucketAggregationMode,
AggregatorFactories factories,
long estimatedBucketsCount,
AggregationContext context,
Aggregator parent) |
DeferringBucketCollector(BucketCollector deferred,
AggregationContext context) |
SingleBucketAggregator(String name,
AggregatorFactories factories,
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 | 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 | 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) |
Constructor and Description |
---|
GeoHashGridAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
int requiredSize,
int shardSize,
AggregationContext aggregationContext,
Aggregator parent) |
Modifier and Type | Method and Description |
---|---|
Aggregator |
GlobalAggregator.Factory.create(AggregationContext context,
Aggregator parent,
long expectedBucketsCount) |
Constructor and Description |
---|
GlobalAggregator(String name,
AggregatorFactories subFactories,
AggregationContext aggregationContext) |
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 | 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 | 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 | 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 | Method and Description |
---|---|
protected Aggregator |
SignificantTermsAggregatorFactory.create(ValuesSource valuesSource,
long expectedBucketsCount,
AggregationContext aggregationContext,
Aggregator parent) |
protected Aggregator |
SignificantTermsAggregatorFactory.createUnmapped(AggregationContext aggregationContext,
Aggregator parent) |
long |
SignificantTermsAggregatorFactory.prepareBackground(AggregationContext context)
Creates the TermsEnum (if not already created) and must be called before any calls to getBackgroundFrequency
|
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) |
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 | 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) |
Constructor and Description |
---|
CardinalityAggregator(String name,
long estimatedBucketsCount,
ValuesSource valuesSource,
boolean rehash,
int precision,
ValueFormatter formatter,
AggregationContext context,
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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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) |
Copyright © 2009–2015. All rights reserved.