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 overBytesRef
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 Detail
-
next
public BytesRef next() throws IOException
- Specified by:
next
in interfaceBytesRefIterator
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-