public class DoubleTermsAggregator extends LongTermsAggregator
TermsAggregator.BucketCountThresholdsAggregator.Parser, Aggregator.SubAggCollectionModebucketOrds, formatter, valuesSourceaggsUsedForSorting, bucketCountThresholds, collectMode, ordercollectableSubAggregators, context, name, parent, subAggregatorsNO_OP_COLLECTOR| Constructor and Description |
|---|
DoubleTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
DoubleTerms |
buildAggregation(long owningBucketOrdinal)
Build an aggregation for data that has been collected into
bucket. |
DoubleTerms |
buildEmptyAggregation()
Build an empty aggregation.
|
protected org.apache.lucene.index.SortedNumericDocValues |
getValues(ValuesSource.Numeric valuesSource,
org.apache.lucene.index.LeafReaderContext ctx) |
doClose, getLeafCollector, needsScoresshouldDeferbucketAggregations, bucketDocCount, bucketEmptyAggregations, close, collectBucket, collectExistingBucket, getDocCounts, grow, incrementBucketDocCount, maxBucketOrdbuildEmptySubAggregations, context, doPostCollection, doPreCollection, getDeferringCollector, getLeafCollector, metaData, name, parent, pipelineAggregators, postCollection, preCollection, runDeferredCollections, subAggregator, subAggregators, toStringdescendsFromBucketAggregatorwrappublic DoubleTermsAggregator(String name, AggregatorFactories factories, ValuesSource.Numeric valuesSource, ValueFormat format, Terms.Order order, TermsAggregator.BucketCountThresholds bucketCountThresholds, AggregationContext aggregationContext, Aggregator parent, Aggregator.SubAggCollectionMode collectionMode, boolean showTermDocCountError, IncludeExclude.LongFilter longFilter, List<PipelineAggregator> pipelineAggregators, Map<String,Object> metaData) throws IOException
IOExceptionprotected org.apache.lucene.index.SortedNumericDocValues getValues(ValuesSource.Numeric valuesSource, org.apache.lucene.index.LeafReaderContext ctx) throws IOException
getValues in class LongTermsAggregatorIOExceptionpublic DoubleTerms buildAggregation(long owningBucketOrdinal) throws IOException
Aggregatorbucket.buildAggregation in class LongTermsAggregatorIOExceptionpublic DoubleTerms buildEmptyAggregation()
AggregatorbuildEmptyAggregation in class LongTermsAggregatorCopyright © 2009–2017. All rights reserved.