protected class DeferringBucketCollector.WrappedAggregator extends Aggregator
Aggregator.Parser, Aggregator.SubAggCollectionModeNO_OP_COLLECTOR| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 クラス内 Aggregatorpublic Aggregator parent()
Aggregatorparent クラス内 Aggregatorpublic AggregationContext context()
AggregatorAggregationContext attached with this Aggregator.context クラス内 Aggregatorpublic Aggregator subAggregator(String name)
AggregatorsubAggregator クラス内 Aggregatorpublic InternalAggregation buildAggregation(long bucket) throws IOException
Aggregatorbucket.buildAggregation クラス内 AggregatorIOExceptionpublic InternalAggregation buildEmptyAggregation()
AggregatorbuildEmptyAggregation クラス内 Aggregatorpublic LeafBucketCollector getLeafCollector(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
getLeafCollector インタフェース内 org.apache.lucene.search.CollectorgetLeafCollector クラス内 BucketCollectorIOExceptionpublic void preCollection()
throws IOException
BucketCollectorpreCollection クラス内 BucketCollectorIOExceptionpublic void postCollection()
throws IOException
BucketCollectorpostCollection クラス内 BucketCollectorIOExceptionCopyright © 2009–2016. All rights reserved.