public class DoubleTermsAggregator extends LongTermsAggregator
TermsAggregator.BucketCountThresholds
Aggregator.BucketAggregationMode, Aggregator.Parser, Aggregator.SubAggCollectionMode
BucketCollector.BucketAnalysisCollector
bucketOrds, formatter, valuesSource
aggsUsedForSorting, bucketCountThresholds, order, subAggCollectMode
bigArrays, bucketAggregationMode, COLLECT_MODE, collectableSubAggregators, context, depth, estimatedBucketCount, factories, name, parent, subAggregators
NO_OP_COLLECTOR
Constructor and Description |
---|
DoubleTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
long estimatedBucketCount,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter) |
Modifier and Type | Method and Description |
---|---|
DoubleTerms |
buildAggregation(long owningBucketOrdinal) |
DoubleTerms |
buildEmptyAggregation() |
protected org.apache.lucene.index.SortedNumericDocValues |
getValues(ValuesSource.Numeric valuesSource) |
collect, doClose, setNextReader, shouldCollect
shouldDefer
bucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectBucketNoCounts, collectExistingBucket, getDocCounts, incrementBucketDocCount, maxBucketOrd
bucketAggregationMode, buildEmptySubAggregations, context, depth, doPostCollection, estimatedBucketCount, gatherAnalysis, hasParentBucketAggregator, name, parent, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators
wrap
public DoubleTermsAggregator(String name, AggregatorFactories factories, ValuesSource.Numeric valuesSource, @Nullable ValueFormat format, long estimatedBucketCount, Terms.Order order, TermsAggregator.BucketCountThresholds bucketCountThresholds, AggregationContext aggregationContext, Aggregator parent, Aggregator.SubAggCollectionMode collectionMode, boolean showTermDocCountError, IncludeExclude.LongFilter longFilter)
protected org.apache.lucene.index.SortedNumericDocValues getValues(ValuesSource.Numeric valuesSource)
getValues
in class LongTermsAggregator
public DoubleTerms buildAggregation(long owningBucketOrdinal)
buildAggregation
in class LongTermsAggregator
public DoubleTerms buildEmptyAggregation()
buildEmptyAggregation
in class LongTermsAggregator
Copyright © 2009–2015. All rights reserved.