protected class DeferringBucketCollector.WrappedAggregator extends Aggregator
Aggregator.Parser, Aggregator.SubAggCollectionModeNO_OP_COLLECTOR| Modifier and Type | Method and Description |
|---|---|
InternalAggregation |
buildAggregation(long bucket)
Build an aggregation for data that has been collected into
bucket. |
InternalAggregation |
buildEmptyAggregation()
Build an empty aggregation.
|
void |
close() |
AggregationContext |
context()
Return the
AggregationContext attached with this Aggregator. |
LeafBucketCollector |
getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx) |
String |
name()
Return the name of this aggregator.
|
boolean |
needsScores() |
Aggregator |
parent()
Return the parent aggregator.
|
void |
postCollection()
Post-collection callback.
|
void |
preCollection()
Pre collection callback.
|
Aggregator |
subAggregator(String name)
Return the sub aggregator with the provided name.
|
descendsFromBucketAggregatorwrappublic boolean needsScores()
public void close()
public String name()
Aggregatorname in class Aggregatorpublic Aggregator parent()
Aggregatorparent in class Aggregatorpublic AggregationContext context()
AggregatorAggregationContext attached with this Aggregator.context in class Aggregatorpublic Aggregator subAggregator(String name)
AggregatorsubAggregator in class Aggregatorpublic InternalAggregation buildAggregation(long bucket) throws IOException
Aggregatorbucket.buildAggregation in class AggregatorIOExceptionpublic InternalAggregation buildEmptyAggregation()
AggregatorbuildEmptyAggregation in class Aggregatorpublic LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
getLeafCollector in interface org.apache.lucene.search.CollectorgetLeafCollector in class BucketCollectorIOExceptionpublic void preCollection()
throws IOException
BucketCollectorpreCollection in class BucketCollectorIOExceptionpublic void postCollection()
throws IOException
BucketCollectorpostCollection in class BucketCollectorIOExceptionCopyright © 2009–2017. All rights reserved.