public class DiversifiedOrdinalsSamplerAggregator extends SamplerAggregator
SamplerAggregator.ExecutionMode
Aggregator.Parser, Aggregator.SubAggCollectionMode
bdd, EXECUTION_HINT_FIELD, MAX_DOCS_PER_VALUE_FIELD, SHARD_SIZE_FIELD, shardSize
collectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
DiversifiedOrdinalsSamplerAggregator(java.lang.String name,
int shardSize,
AggregatorFactories factories,
SearchContext context,
Aggregator parent,
java.util.List<PipelineAggregator> pipelineAggregators,
java.util.Map<java.lang.String,java.lang.Object> metaData,
ValuesSource.Bytes.WithOrdinals.FieldData valuesSource,
int maxDocsPerValue) |
Modifier and Type | Method and Description |
---|---|
DeferringBucketCollector |
getDeferringCollector() |
buildAggregation, buildEmptyAggregation, doClose, 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 DiversifiedOrdinalsSamplerAggregator(java.lang.String name, int shardSize, AggregatorFactories factories, SearchContext context, Aggregator parent, java.util.List<PipelineAggregator> pipelineAggregators, java.util.Map<java.lang.String,java.lang.Object> metaData, ValuesSource.Bytes.WithOrdinals.FieldData valuesSource, int maxDocsPerValue) throws java.io.IOException
java.io.IOException
public DeferringBucketCollector getDeferringCollector()
getDeferringCollector
in class SamplerAggregator