Class SpanPayloadCheckQuery.PayloadChecker
- java.lang.Object
-
- org.apache.lucene.queries.payloads.SpanPayloadCheckQuery.PayloadChecker
-
- All Implemented Interfaces:
SpanCollector
- Enclosing class:
- SpanPayloadCheckQuery
private class SpanPayloadCheckQuery.PayloadChecker extends java.lang.Object implements SpanCollector
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePayloadChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollectLeaf(PostingsEnum postings, int position, Term term)Collect information from postings(package private) FilterSpans.AcceptStatusmatch()voidreset()Call to indicate that the driving Spans has moved to a new position
-
-
-
Method Detail
-
collectLeaf
public void collectLeaf(PostingsEnum postings, int position, Term term) throws java.io.IOException
Description copied from interface:SpanCollectorCollect information from postings- Specified by:
collectLeafin interfaceSpanCollector- Parameters:
postings- aPostingsEnumposition- the position of the PostingsEnumterm- theTermfor this postings list- Throws:
java.io.IOException- on error
-
match
FilterSpans.AcceptStatus match()
-
reset
public void reset()
Description copied from interface:SpanCollectorCall to indicate that the driving Spans has moved to a new position- Specified by:
resetin interfaceSpanCollector
-
-