public class SortedTermFreqIteratorWrapper extends Object implements TermFreqIterator
TermFreqIterator.TermFreqIteratorWrapper| Constructor and Description |
|---|
SortedTermFreqIteratorWrapper(TermFreqIterator source,
Comparator<org.apache.lucene.util.BytesRef> comparator) |
SortedTermFreqIteratorWrapper(TermFreqIterator source,
Comparator<org.apache.lucene.util.BytesRef> comparator,
boolean compareRawBytes) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
decode(org.apache.lucene.util.BytesRef scratch,
org.apache.lucene.store.ByteArrayDataInput tmpInput) |
protected void |
encode(Sort.ByteSequencesWriter writer,
org.apache.lucene.store.ByteArrayDataOutput output,
byte[] buffer,
org.apache.lucene.util.BytesRef spare,
long weight) |
Comparator<org.apache.lucene.util.BytesRef> |
getComparator() |
org.apache.lucene.util.BytesRef |
next() |
long |
weight() |
public SortedTermFreqIteratorWrapper(TermFreqIterator source, Comparator<org.apache.lucene.util.BytesRef> comparator) throws IOException
IOExceptionpublic SortedTermFreqIteratorWrapper(TermFreqIterator source, Comparator<org.apache.lucene.util.BytesRef> comparator, boolean compareRawBytes) throws IOException
IOExceptionpublic org.apache.lucene.util.BytesRef next()
throws IOException
next in interface org.apache.lucene.util.BytesRefIteratorIOExceptionpublic Comparator<org.apache.lucene.util.BytesRef> getComparator()
getComparator in interface org.apache.lucene.util.BytesRefIteratorpublic long weight()
weight in interface TermFreqIteratorprotected void encode(Sort.ByteSequencesWriter writer, org.apache.lucene.store.ByteArrayDataOutput output, byte[] buffer, org.apache.lucene.util.BytesRef spare, long weight) throws IOException
IOExceptionprotected long decode(org.apache.lucene.util.BytesRef scratch,
org.apache.lucene.store.ByteArrayDataInput tmpInput)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.