Class ExternalRefSorter.ByteSequenceIterator
java.lang.Object
org.apache.lucene.search.suggest.fst.ExternalRefSorter.ByteSequenceIterator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BytesRefIterator
- Enclosing class:
ExternalRefSorter
public static class ExternalRefSorter.ByteSequenceIterator
extends Object
implements BytesRefIterator, Closeable
Iterates over
BytesRef
s in a file, closes the reader when the iterator is exhausted.-
Field Summary
Fields inherited from interface org.apache.lucene.util.BytesRefIterator
EMPTY
-
Method Summary
-
Method Details
-
next
- Specified by:
next
in interfaceBytesRefIterator
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-