Module org.apache.lucene.core
Package org.apache.lucene.search
Class IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
- java.lang.Object
-
- org.apache.lucene.search.IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
-
- Enclosing class:
- IndexSortSortedNumericDocValuesRangeQuery
private static class IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount extends java.lang.Object
Provides aDocIdSetIterator
along with an accurate count of documents provided by the iterator (or-1
if an accurate count is unknown).
-
-
Field Summary
Fields Modifier and Type Field Description private int
count
private DocIdSetIterator
it
-
Constructor Summary
Constructors Constructor Description IteratorAndCount(DocIdSetIterator it, int count)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
all(int maxDoc)
(package private) static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
denseRange(int minDoc, int maxDoc)
(package private) static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
empty()
(package private) static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount
sparseRange(int minDoc, int maxDoc, DocIdSetIterator delegate)
-
-
-
Field Detail
-
it
private final DocIdSetIterator it
-
count
private final int count
-
-
Constructor Detail
-
IteratorAndCount
IteratorAndCount(DocIdSetIterator it, int count)
-
-
Method Detail
-
empty
static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount empty()
-
all
static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount all(int maxDoc)
-
denseRange
static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount denseRange(int minDoc, int maxDoc)
-
sparseRange
static IndexSortSortedNumericDocValuesRangeQuery.IteratorAndCount sparseRange(int minDoc, int maxDoc, DocIdSetIterator delegate)
-
-