public class LeafBucketCollectorBase extends LeafBucketCollector
LeafBucketCollector that delegates all calls to the sub leaf
aggregator and sets the scorer on its source of values if it implements
ScorerAware.NO_OP_COLLECTOR| コンストラクタと説明 |
|---|
LeafBucketCollectorBase(LeafBucketCollector sub,
Object values) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
collect(int doc,
long bucket)
Collect the given doc in the given bucket.
|
void |
setScorer(org.apache.lucene.search.Scorer s) |
collect, wrappublic LeafBucketCollectorBase(LeafBucketCollector sub, Object values)
sub - The leaf collector for sub aggregations.values - The values. ScorerAware.setScorer(org.apache.lucene.search.Scorer) will be called automatically on them if they implement ScorerAware.public void setScorer(org.apache.lucene.search.Scorer s)
throws IOException
setScorer インタフェース内 org.apache.lucene.search.LeafCollectorsetScorer クラス内 LeafBucketCollectorIOExceptionpublic void collect(int doc,
long bucket)
throws IOException
LeafBucketCollectorcollect クラス内 LeafBucketCollectorIOExceptionCopyright © 2009–2016. All rights reserved.