Class SpanPayloadCheckQuery.PayloadChecker

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) boolean matches  
      (package private) int upto  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private PayloadChecker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void collectLeaf​(PostingsEnum postings, int position, Term term)
      Collect information from postings
      (package private) FilterSpans.AcceptStatus match()  
      void reset()
      Call to indicate that the driving Spans has moved to a new position
      • Methods inherited from class java.lang.Object

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

      • upto

        int upto
      • matches

        boolean matches
    • Constructor Detail

      • PayloadChecker

        private PayloadChecker()
    • Method Detail

      • collectLeaf

        public void collectLeaf​(PostingsEnum postings,
                                int position,
                                Term term)
                         throws java.io.IOException
        Description copied from interface: SpanCollector
        Collect information from postings
        Specified by:
        collectLeaf in interface SpanCollector
        Parameters:
        postings - a PostingsEnum
        position - the position of the PostingsEnum
        term - the Term for this postings list
        Throws:
        java.io.IOException - on error
      • reset

        public void reset()
        Description copied from interface: SpanCollector
        Call to indicate that the driving Spans has moved to a new position
        Specified by:
        reset in interface SpanCollector