Class BitsProducer


  • public abstract class BitsProducer
    extends java.lang.Object
    A producer of Bits per segment.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BitsProducer()
      Sole constructor, typically invoked by sub-classes.
    • Constructor Detail

      • BitsProducer

        protected BitsProducer()
        Sole constructor, typically invoked by sub-classes.
    • Method Detail

      • getBits

        public abstract Bits getBits​(LeafReaderContext context)
                              throws java.io.IOException
        Return Bits for the given leaf. The returned instance must be non-null and have a length equal to maxDoc.
        Throws:
        java.io.IOException