public abstract class NonCollectingAggregator extends AggregatorBase
Aggregator.Parser, Aggregator.SubAggCollectionModecollectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregatorsNO_OP_COLLECTOR| Modifier | Constructor and Description |
|---|---|
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) |
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) |
| Modifier and Type | Method and 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. |
addRequestCircuitBreakerBytes, buildEmptySubAggregations, close, context, doClose, doPostCollection, doPreCollection, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, preGetSubLeafCollectors, subAggregator, subAggregators, toStringbuildEmptyAggregation, descendsFromBucketAggregatorwrapprotected 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