- java.lang.Object
-
- org.apache.lucene.search.DocIdStream
-
- org.apache.lucene.search.BooleanScorer.DocIdStreamView
-
- Enclosing class:
- BooleanScorer
final class BooleanScorer.DocIdStreamView extends DocIdStream
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
base
-
Constructor Summary
Constructors Constructor Description DocIdStreamView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
Count the number of entries in this stream.void
forEach(CheckedIntConsumer<java.io.IOException> consumer)
Iterate over doc IDs contained in this stream in order, calling the givenCheckedIntConsumer
on them.
-
-
-
Method Detail
-
forEach
public void forEach(CheckedIntConsumer<java.io.IOException> consumer) throws java.io.IOException
Description copied from class:DocIdStream
Iterate over doc IDs contained in this stream in order, calling the givenCheckedIntConsumer
on them. This is a terminal operation.- Specified by:
forEach
in classDocIdStream
- Throws:
java.io.IOException
-
count
public int count() throws java.io.IOException
Description copied from class:DocIdStream
Count the number of entries in this stream. This is a terminal operation.- Overrides:
count
in classDocIdStream
- Throws:
java.io.IOException
-
-