public final class GeoBoundsAggregator extends MetricsAggregator
Aggregator.Parser, Aggregator.SubAggCollectionModecollectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregatorsNO_OP_COLLECTOR| Modifier | Constructor and Description |
|---|---|
protected |
GeoBoundsAggregator(java.lang.String name,
SearchContext aggregationContext,
Aggregator parent,
ValuesSource.GeoPoint valuesSource,
boolean wrapLongitude,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
InternalAggregation |
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected into
bucket. |
InternalAggregation |
buildEmptyAggregation()
Build an empty aggregation.
|
void |
doClose()
Release instance-specific data.
|
LeafBucketCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx,
LeafBucketCollector sub)
Get a
LeafBucketCollector for the given ctx, which should
delegate to the given collector. |
addRequestCircuitBreakerBytes, buildEmptySubAggregations, close, context, doPostCollection, doPreCollection, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, subAggregator, subAggregators, toStringdescendsFromBucketAggregatorwrapprotected GeoBoundsAggregator(java.lang.String name,
SearchContext aggregationContext,
Aggregator parent,
ValuesSource.GeoPoint valuesSource,
boolean wrapLongitude,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
throws java.io.IOException
java.io.IOExceptionpublic LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx, LeafBucketCollector sub)
AggregatorBaseLeafBucketCollector for the given ctx, which should
delegate to the given collector.getLeafCollector in class AggregatorBasepublic InternalAggregation buildAggregation(long owningBucketOrdinal)
Aggregatorbucket.buildAggregation in class Aggregatorpublic InternalAggregation buildEmptyAggregation()
AggregatorbuildEmptyAggregation in class Aggregatorpublic void doClose()
AggregatorBasedoClose in class AggregatorBase