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
SpanCollector
collectLeaf
in interface SpanCollector
postings
- a PostingsEnum
position
- the position of the PostingsEnumterm
- the Term
for this postings listIOException
- on errorpublic void reset()
SpanCollector
reset
in interface SpanCollector
public Collection<byte[]> getPayloads()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.