public abstract class NonCollectingAggregator extends AggregatorBase
Aggregator.Parser, Aggregator.SubAggCollectionModecollectableSubAggregators, context, name, parent, subAggregatorsNO_OP_COLLECTOR| Modifier | Constructor and Description |
|---|---|
protected |
NonCollectingAggregator(String name,
AggregationContext context,
Aggregator parent,
AggregatorFactories subFactories,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
protected |
NonCollectingAggregator(String name,
AggregationContext context,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,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. |
buildEmptySubAggregations, close, context, doClose, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, needsScores, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, shouldDefer, subAggregator, subAggregators, toStringbuildEmptyAggregation, descendsFromBucketAggregatorwrapprotected NonCollectingAggregator(String name, AggregationContext context, Aggregator parent, AggregatorFactories subFactories, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
IOExceptionprotected NonCollectingAggregator(String name, AggregationContext context, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
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 AggregatorCopyright © 2009–2017. All rights reserved.