Modifier and Type | Field and Description |
---|---|
static AggregatorFactories |
AggregatorFactories.EMPTY |
protected AggregatorFactories |
AggregatorFactory.factories |
protected AggregatorFactories |
Aggregator.factories |
Modifier and Type | Method and Description |
---|---|
AggregatorFactories |
AggregatorFactories.Builder.build() |
AggregatorFactories |
SearchContextAggregations.factories() |
AggregatorFactories |
AggregatorParsers.parseAggregators(XContentParser parser,
SearchContext context)
Parses the aggregation request recursively generating aggregator factories in turn.
|
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
AggregatorFactory.subFactories(AggregatorFactories subFactories)
Registers sub-factories with this factory.
|
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,
AggregatorFactories subFactories) |
SearchContextAggregations(AggregatorFactories factories)
Creates a new aggregation context with the parsed aggregator factories
|
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) |
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) |
Constructor and Description |
---|
FilterAggregator(String name,
org.apache.lucene.search.Filter filter,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent) |
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) |
Constructor and Description |
---|
GlobalAggregator(String name,
AggregatorFactories subFactories,
AggregationContext aggregationContext) |
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) |
Constructor and Description |
---|
MissingAggregator(String name,
AggregatorFactories factories,
ValuesSource valuesSource,
AggregationContext aggregationContext,
Aggregator parent) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
TopHitsAggregator.Factory.subFactories(AggregatorFactories subFactories) |
Modifier and Type | Method and Description |
---|---|
AggregatorFactory |
ValuesSourceAggregatorFactory.LeafOnly.subFactories(AggregatorFactories subFactories) |
Copyright © 2009–2015. All rights reserved.