Class OfflineSorter.ByteSequencesWriter
Utility class to emit length-prefixed byte[] entries to an output stream for sorting. Complementary to OfflineSorter.ByteSequencesReader.
Inheritance
System.Object
OfflineSorter.ByteSequencesWriter
Assembly: DistributedLucene.Net.dll
Syntax
public class ByteSequencesWriter : IDisposable
Constructors
Name | Description |
---|---|
ByteSequencesWriter(FileInfo) | Constructs a OfflineSorter.ByteSequencesWriter to the provided |
ByteSequencesWriter(DataOutput) | Constructs a OfflineSorter.ByteSequencesWriter to the provided DataOutput. |
Methods
Name | Description |
---|---|
Dispose() | Disposes the provided DataOutput if it is |
Write(BytesRef) | Writes a BytesRef. |
Write(Byte[]) | Writes a byte array. |
Write(Byte[], Int32, Int32) | Writes a byte array.
The length is written as a |