java.io.Closeable, java.lang.AutoCloseable, ReleasableRangeAggregator.Unmappedpublic abstract class NonCollectingAggregator extends AggregatorBase
Aggregator.Parser, Aggregator.SubAggCollectionModecollectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregatorsNO_OP_COLLECTOR| Modifier | Constructor | Description |
|---|---|---|
protected |
NonCollectingAggregator(java.lang.String name,
SearchContext context,
Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
|
protected |
NonCollectingAggregator(java.lang.String name,
SearchContext context,
Aggregator parent,
AggregatorFactories subFactories,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData) |
| Modifier and Type | Method | Description |
|---|---|---|
InternalAggregation |
buildAggregation(long owningBucketOrdinal) |
Build an aggregation for data that has been collected into
bucket. |
LeafBucketCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext reader,
LeafBucketCollector sub) |
Get a
LeafBucketCollector for the given ctx, which should
delegate to the given collector. |
buildEmptyAggregation, descendsFromBucketAggregatoraddRequestCircuitBreakerBytes, buildEmptySubAggregations, close, context, doClose, doPostCollection, doPreCollection, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, preGetSubLeafCollectors, subAggregator, subAggregators, toStringwrapprotected NonCollectingAggregator(java.lang.String name,
SearchContext context,
Aggregator parent,
AggregatorFactories subFactories,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
throws java.io.IOException
java.io.IOExceptionprotected NonCollectingAggregator(java.lang.String name,
SearchContext context,
Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData)
throws java.io.IOException
java.io.IOExceptionpublic final LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext reader, LeafBucketCollector sub)
AggregatorBaseLeafBucketCollector for the given ctx, which should
delegate to the given collector.getLeafCollector in class AggregatorBasepublic final InternalAggregation buildAggregation(long owningBucketOrdinal)
Aggregatorbucket.buildAggregation in class Aggregator