Class CachingMatchesIterator

    • Field Detail

      • positioned

        private boolean positioned
      • posAndOffsets

        private int[] posAndOffsets
      • matchingQueries

        private Query[] matchingQueries
      • count

        private int count
    • Method Detail

      • cache

        private void cache()
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • next

        public boolean next()
                     throws java.io.IOException
        Description copied from interface: MatchesIterator
        Advance the iterator to the next match position
        Specified by:
        next in interface MatchesIterator
        Overrides:
        next in class FilterMatchesIterator
        Returns:
        true if matches have not been exhausted
        Throws:
        java.io.IOException
      • startOffset

        int startOffset​(int endPos)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • endOffset

        int endOffset​(int endPos)
               throws java.io.IOException
        Throws:
        java.io.IOException
      • getSubMatches

        MatchesIterator getSubMatches​(int endPos)
                               throws java.io.IOException
        Throws:
        java.io.IOException