Class BoundsPostingList

  • All Implemented Interfaces:
    PostingList

    public class BoundsPostingList
    extends MultiIntervalPostingList
    Wraps a posting stream of IntervalWithBounds objects (for collapsed fixed tree leaf nodes) into a PostingList.
    Author:
    Magnar Nedland, bjorncs
    • Constructor Detail

      • BoundsPostingList

        public BoundsPostingList​(PredicateIntervalStore store,
                                 int[] docIds,
                                 int[] dataRefs,
                                 long subquery,
                                 int valueDiff)
        Parameters:
        valueDiff - Difference from the collapsed leaf node's actual value.
    • Method Detail

      • nextInterval

        public boolean nextInterval()
        Description copied from interface: PostingList
        Fetches the next interval for the current document.
        Returns:
        True if there was a next interval
      • getInterval

        public int getInterval()
        Returns:
        The current interval for the current document