public class PayloadSpanCollector extends 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
|
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 IOException
SpanCollectorcollectLeaf in interface SpanCollectorpostings - a PostingsEnumposition - the position of the PostingsEnumterm - the Term for this postings listIOException - on errorpublic void reset()
SpanCollectorreset in interface SpanCollectorpublic Collection<byte[]> getPayloads()
Copyright © 2000-2017 The Apache Software Foundation. All Rights Reserved.