protected abstract static class ChildrenQuery.ParentCollector extends org.apache.lucene.search.SimpleCollector implements Releasable
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected BigArrays |
bigArrays |
protected IndexParentChildFieldData |
globalIfd |
protected LongHash |
parentIdxs |
protected String |
parentType |
protected org.apache.lucene.search.Scorer |
scorer |
protected SearchContext |
searchContext |
protected org.apache.lucene.index.SortedDocValues |
values |
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
ParentCollector(IndexParentChildFieldData globalIfd,
SearchContext searchContext,
String parentType) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
void |
collect(int doc) |
protected void |
doSetNextReader(org.apache.lucene.index.LeafReaderContext context) |
protected void |
existingParent(long parentIdx) |
long |
foundParents() |
boolean |
needsScores() |
protected void |
newParent(long parentIdx) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
protected final IndexParentChildFieldData globalIfd
protected final LongHash parentIdxs
protected final BigArrays bigArrays
protected final SearchContext searchContext
protected final String parentType
protected org.apache.lucene.index.SortedDocValues values
protected org.apache.lucene.search.Scorer scorer
protected ParentCollector(IndexParentChildFieldData globalIfd, SearchContext searchContext, String parentType)
public final void collect(int doc)
throws IOException
collect インタフェース内 org.apache.lucene.search.LeafCollectorcollect クラス内 org.apache.lucene.search.SimpleCollectorIOExceptionprotected void newParent(long parentIdx)
throws IOException
IOExceptionprotected void existingParent(long parentIdx)
throws IOException
IOExceptionpublic long foundParents()
protected void doSetNextReader(org.apache.lucene.index.LeafReaderContext context)
throws IOException
doSetNextReader クラス内 org.apache.lucene.search.SimpleCollectorIOExceptionpublic void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
setScorer インタフェース内 org.apache.lucene.search.LeafCollectorsetScorer クラス内 org.apache.lucene.search.SimpleCollectorIOExceptionpublic boolean needsScores()
needsScores インタフェース内 org.apache.lucene.search.Collectorpublic void close()
close インタフェース内 AutoCloseableclose インタフェース内 ReleasableCopyright © 2009–2016. All rights reserved.