public class DiversifiedMapSamplerAggregator extends SamplerAggregator
SamplerAggregator.DiversifiedFactory, SamplerAggregator.ExecutionMode, SamplerAggregator.Factory
Aggregator.Parser, Aggregator.SubAggCollectionMode
bdd, shardSize
collectableSubAggregators, context, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
DiversifiedMapSamplerAggregator(String name,
int shardSize,
AggregatorFactories factories,
AggregationContext aggregationContext,
Aggregator parent,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData,
ValuesSource valuesSource,
int maxDocsPerValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose()
Release instance-specific data.
|
DeferringBucketCollector |
getDeferringCollector() |
buildAggregation, buildEmptyAggregation, getLeafCollector, needsScores, shouldDefer
bucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd
buildEmptySubAggregations, context, doPostCollection, doPreCollection, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toString
descendsFromBucketAggregator
wrap
public DiversifiedMapSamplerAggregator(String name, int shardSize, AggregatorFactories factories, AggregationContext aggregationContext, Aggregator parent, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData, ValuesSource valuesSource, int maxDocsPerValue) throws IOException
IOException
protected void doClose()
AggregatorBase
doClose
in class SamplerAggregator
public DeferringBucketCollector getDeferringCollector()
getDeferringCollector
in class SamplerAggregator
Copyright © 2009–2016. All rights reserved.