Class IntArrayDocIdSet

    • Field Detail

      • BASE_RAM_BYTES_USED

        private static final long BASE_RAM_BYTES_USED
      • docs

        private final int[] docs
      • length

        private final int length
    • Constructor Detail

      • IntArrayDocIdSet

        IntArrayDocIdSet​(int[] docs,
                         int length)
    • Method Detail

      • ramBytesUsed

        public long ramBytesUsed()
        Description copied from interface: Accountable
        Return the memory usage of this object in bytes. Negative values are illegal.
      • iterator

        public DocIdSetIterator iterator()
                                  throws java.io.IOException
        Description copied from class: DocIdSet
        Provides a DocIdSetIterator to access the set. This implementation can return null if there are no docs that match.
        Specified by:
        iterator in class DocIdSet
        Throws:
        java.io.IOException