Class BooleanScorer.DocIdStreamView

    • 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 given CheckedIntConsumer on them.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • base

        int base
    • Constructor Detail

      • DocIdStreamView

        DocIdStreamView()
    • 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 given CheckedIntConsumer on them. This is a terminal operation.
        Specified by:
        forEach in class DocIdStream
        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 class DocIdStream
        Throws:
        java.io.IOException