Class OfflineSorter.ByteSequencesReader
Utility class to read length-prefixed byte[] entries from an input. Complementary to OfflineSorter.ByteSequencesWriter.
Inheritance
System.Object
OfflineSorter.ByteSequencesReader
Assembly: DistributedLucene.Net.dll
Syntax
public class ByteSequencesReader : IDisposable
Constructors
Name | Description |
---|---|
ByteSequencesReader(FileInfo) | Constructs a OfflineSorter.ByteSequencesReader from the provided |
ByteSequencesReader(DataInput) | Constructs a OfflineSorter.ByteSequencesReader from the provided DataInput. |
Methods
Name | Description |
---|---|
Dispose() | Disposes the provided DataInput if it is |
Read() | Reads the next entry and returns it if successful. |
Read(BytesRef) | Reads the next entry into the provided BytesRef. The internal storage is resized if needed. |