Package org.apache.lucene.search.join
Class QueryBitSetProducer
java.lang.Object
org.apache.lucene.search.join.QueryBitSetProducer
- All Implemented Interfaces:
BitSetProducer
A
BitSetProducer
that wraps a query and caches matching BitSet
s per segment.-
Constructor Summary
ConstructorDescriptionQueryBitSetProducer
(Query query) Wraps another query's result and caches it into bitsets. -
Method Summary
-
Constructor Details
-
QueryBitSetProducer
Wraps another query's result and caches it into bitsets.- Parameters:
query
- Query to cache results of
-
-
Method Details
-
getQuery
Gets the contained query.- Returns:
- the contained query.
-
getBitSet
Description copied from interface:BitSetProducer
Produce aBitSet
matching the expected documents on the given segment. This may returnnull
if no documents match.- Specified by:
getBitSet
in interfaceBitSetProducer
- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-