Class QueryBitSetProducer

    • Constructor Detail

      • QueryBitSetProducer

        public QueryBitSetProducer​(Query query)
        Wraps another query's result and caches it into bitsets.
        Parameters:
        query - Query to cache results of
    • Method Detail

      • getQuery

        public Query getQuery()
        Gets the contained query.
        Returns:
        the contained query.
      • getBitSet

        public BitSet getBitSet​(LeafReaderContext context)
                         throws java.io.IOException
        Description copied from interface: BitSetProducer
        Produce a BitSet matching the expected documents on the given segment. This may return null if no documents match.
        Specified by:
        getBitSet in interface BitSetProducer
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object