public class SortedTermFreqIteratorWrapper extends java.lang.Object implements TermFreqIterator
TermFreqIterator.TermFreqIteratorWrapper| Constructor and Description |
|---|
SortedTermFreqIteratorWrapper(TermFreqIterator source,
java.util.Comparator<org.apache.lucene.util.BytesRef> comparator) |
SortedTermFreqIteratorWrapper(TermFreqIterator source,
java.util.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) |
java.util.Comparator<org.apache.lucene.util.BytesRef> |
getComparator() |
org.apache.lucene.util.BytesRef |
next() |
long |
weight() |
public SortedTermFreqIteratorWrapper(TermFreqIterator source, java.util.Comparator<org.apache.lucene.util.BytesRef> comparator) throws java.io.IOException
java.io.IOExceptionpublic SortedTermFreqIteratorWrapper(TermFreqIterator source, java.util.Comparator<org.apache.lucene.util.BytesRef> comparator, boolean compareRawBytes) throws java.io.IOException
java.io.IOExceptionpublic org.apache.lucene.util.BytesRef next()
throws java.io.IOException
next in interface org.apache.lucene.util.BytesRefIteratorjava.io.IOExceptionpublic java.util.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 java.io.IOException
java.io.IOExceptionprotected long decode(org.apache.lucene.util.BytesRef scratch,
org.apache.lucene.store.ByteArrayDataInput tmpInput)
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.