org.apache.lucene.search.spell
Class TermFreqIterator.TermFreqIteratorWrapper
java.lang.Object
org.apache.lucene.search.spell.TermFreqIterator.TermFreqIteratorWrapper
- All Implemented Interfaces:
- TermFreqIterator, BytesRefIterator
- Enclosing interface:
- TermFreqIterator
public static class TermFreqIterator.TermFreqIteratorWrapper
- extends Object
- implements TermFreqIterator
Wraps a BytesRefIterator as a TermFreqIterator, with all weights
set to 1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermFreqIterator.TermFreqIteratorWrapper
public TermFreqIterator.TermFreqIteratorWrapper(BytesRefIterator wrapped)
weight
public long weight()
- Specified by:
weight
in interface TermFreqIterator
next
public BytesRef next()
throws IOException
- Specified by:
next
in interface BytesRefIterator
- Throws:
IOException
getComparator
public Comparator<BytesRef> getComparator()
- Specified by:
getComparator
in interface BytesRefIterator
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.