Class IntervalPostingList

  • All Implemented Interfaces:
    PostingList

    public class IntervalPostingList
    extends MultiIntervalPostingList
    Implementation of PostingList for regular features that store their intervals and nothing else.
    Author:
    Magnar Nedland, bjorncs
    • Constructor Detail

      • IntervalPostingList

        public IntervalPostingList​(PredicateIntervalStore store,
                                   int[] docIds,
                                   int[] dataRefs,
                                   long subquery)
    • 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