Package org.apache.lucene.search.join
Class DocValuesTermsCollector<DV>
- java.lang.Object
-
- org.apache.lucene.search.SimpleCollector
-
- org.apache.lucene.search.join.DocValuesTermsCollector<DV>
-
- All Implemented Interfaces:
Collector
,LeafCollector
- Direct Known Subclasses:
TermsCollector
,TermsWithScoreCollector
abstract class DocValuesTermsCollector<DV> extends SimpleCollector
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
DocValuesTermsCollector.Function<R>
-
Field Summary
Fields Modifier and Type Field Description protected DV
docValues
private DocValuesTermsCollector.Function<DV>
docValuesCall
-
Constructor Summary
Constructors Constructor Description DocValuesTermsCollector(DocValuesTermsCollector.Function<DV> docValuesCall)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doSetNextReader(LeafReaderContext context)
This method is called before collectingcontext
.(package private) static DocValuesTermsCollector.Function<SortedDocValues>
sortedDocValues(java.lang.String field)
(package private) static DocValuesTermsCollector.Function<SortedSetDocValues>
sortedSetDocValues(java.lang.String field)
-
Methods inherited from class org.apache.lucene.search.SimpleCollector
collect, getLeafCollector, setScorer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.lucene.search.LeafCollector
competitiveIterator
-
-
-
-
Field Detail
-
docValues
protected DV docValues
-
docValuesCall
private final DocValuesTermsCollector.Function<DV> docValuesCall
-
-
Constructor Detail
-
DocValuesTermsCollector
public DocValuesTermsCollector(DocValuesTermsCollector.Function<DV> docValuesCall)
-
-
Method Detail
-
doSetNextReader
protected final void doSetNextReader(LeafReaderContext context) throws java.io.IOException
Description copied from class:SimpleCollector
This method is called before collectingcontext
.- Overrides:
doSetNextReader
in classSimpleCollector
- Throws:
java.io.IOException
-
sortedDocValues
static DocValuesTermsCollector.Function<SortedDocValues> sortedDocValues(java.lang.String field)
-
sortedSetDocValues
static DocValuesTermsCollector.Function<SortedSetDocValues> sortedSetDocValues(java.lang.String field)
-
-