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 BitSets per segment.-
Constructor Summary
ConstructorsConstructorDescriptionQueryBitSetProducer(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:BitSetProducerProduce aBitSetmatching the expected documents on the given segment. This may returnnullif no documents match.- Specified by:
getBitSetin interfaceBitSetProducer- Throws:
IOException
-
toString
-
equals
-
hashCode
public int hashCode()
-