public class PayloadSpanCollector extends java.lang.Object implements SpanCollector
| Constructor and Description |
|---|
PayloadSpanCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectLeaf(PostingsEnum postings,
int position,
Term term)
Collect information from postings
|
java.util.Collection<byte[]> |
getPayloads() |
void |
reset()
Call to indicate that the driving Spans has moved to a new position
|
public void collectLeaf(PostingsEnum postings, int position, Term term) throws java.io.IOException
SpanCollectorcollectLeaf in interface SpanCollectorpostings - a PostingsEnumposition - the position of the PostingsEnumterm - the Term for this postings listjava.io.IOException - on errorpublic void reset()
SpanCollectorreset in interface SpanCollectorpublic java.util.Collection<byte[]> getPayloads()
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.