Class OfflineSorter.ByteSequencesWriter

java.lang.Object
org.apache.lucene.util.OfflineSorter.ByteSequencesWriter
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
OfflineSorter

public static class OfflineSorter.ByteSequencesWriter extends Object implements Closeable
Utility class to emit length-prefixed byte[] entries to an output stream for sorting. Complementary to OfflineSorter.ByteSequencesReader. You must use CodecUtil.writeFooter(org.apache.lucene.store.IndexOutput) to write a footer at the end of the input file.