Class DoubleTermsAggregator
java.lang.Object
org.elasticsearch.search.aggregations.BucketCollector
org.elasticsearch.search.aggregations.Aggregator
org.elasticsearch.search.aggregations.AggregatorBase
org.elasticsearch.search.aggregations.bucket.BucketsAggregator
org.elasticsearch.search.aggregations.bucket.DeferableBucketAggregator
org.elasticsearch.search.aggregations.bucket.terms.TermsAggregator
org.elasticsearch.search.aggregations.bucket.terms.LongTermsAggregator
org.elasticsearch.search.aggregations.bucket.terms.DoubleTermsAggregator
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.apache.lucene.search.Collector
,Releasable
public class DoubleTermsAggregator extends LongTermsAggregator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.bucket.terms.TermsAggregator
TermsAggregator.BucketCountThresholds
Nested classes/interfaces inherited from class org.elasticsearch.search.aggregations.Aggregator
Aggregator.Parser, Aggregator.SubAggCollectionMode
-
Field Summary
Fields inherited from class org.elasticsearch.search.aggregations.bucket.terms.LongTermsAggregator
bucketOrds, valuesSource
Fields inherited from class org.elasticsearch.search.aggregations.bucket.terms.TermsAggregator
aggsUsedForSorting, bucketCountThresholds, collectMode, format, order
Fields inherited from class org.elasticsearch.search.aggregations.AggregatorBase
collectableSubAggregators, context, DEFAULT_WEIGHT, name, parent, subAggregators
-
Method Summary
Modifier and Type Method Description DoubleTerms
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected intobucket
.DoubleTerms
buildEmptyAggregation()
Build an empty aggregation.protected org.apache.lucene.index.SortedNumericDocValues
getValues(ValuesSource.Numeric valuesSource, org.apache.lucene.index.LeafReaderContext ctx)
Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.LongTermsAggregator
doClose, getLeafCollector, scoreMode
Methods inherited from class org.elasticsearch.search.aggregations.bucket.terms.TermsAggregator
bucketComparator, shouldDefer
Methods inherited from class org.elasticsearch.search.aggregations.bucket.DeferableBucketAggregator
descendsFromGlobalAggregator, doPreCollection, getDeferringCollector, runDeferredCollections
Methods inherited from class org.elasticsearch.search.aggregations.bucket.BucketsAggregator
bucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, consumeBucketsAndMaybeBreak, getDocCounts, grow, incrementBucketDocCount, maxBucketOrd, mergeBuckets
Methods inherited from class org.elasticsearch.search.aggregations.AggregatorBase
addRequestCircuitBreakerBytes, buildEmptySubAggregations, context, doPostCollection, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, preGetSubLeafCollectors, subAggregator, subAggregators, toString
Methods inherited from class org.elasticsearch.search.aggregations.Aggregator
descendsFromBucketAggregator
-
Method Details
-
getValues
protected org.apache.lucene.index.SortedNumericDocValues getValues(ValuesSource.Numeric valuesSource, org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException- Overrides:
getValues
in classLongTermsAggregator
- Throws:
java.io.IOException
-
buildAggregation
Description copied from class:Aggregator
Build an aggregation for data that has been collected intobucket
.- Overrides:
buildAggregation
in classLongTermsAggregator
- Throws:
java.io.IOException
-
buildEmptyAggregation
Description copied from class:Aggregator
Build an empty aggregation.- Overrides:
buildEmptyAggregation
in classLongTermsAggregator
-