Interface MapStringTermsAggregator.CollectorSource
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,Releasable
- All Known Implementing Classes:
MapStringTermsAggregator.ValuesSourceCollectorSource
- Enclosing class:
- MapStringTermsAggregator
public static interface MapStringTermsAggregator.CollectorSource extends Releasable
Abstaction on top of building collectors to fetch values.
-
Method Summary
Modifier and Type Method Description LeafBucketCollector
getLeafCollector(IncludeExclude.StringFilter includeExclude, org.apache.lucene.index.LeafReaderContext ctx, LeafBucketCollector sub, java.util.function.LongConsumer addRequestCircuitBreakerBytes, MapStringTermsAggregator.CollectConsumer consumer)
boolean
needsScores()
Methods inherited from interface org.elasticsearch.common.lease.Releasable
close
-
Method Details
-
needsScores
boolean needsScores() -
getLeafCollector
LeafBucketCollector getLeafCollector(IncludeExclude.StringFilter includeExclude, org.apache.lucene.index.LeafReaderContext ctx, LeafBucketCollector sub, java.util.function.LongConsumer addRequestCircuitBreakerBytes, MapStringTermsAggregator.CollectConsumer consumer) throws java.io.IOException- Throws:
java.io.IOException
-