Class OfflineSorter.ByteSequencesWriter
Utility class to emit length-prefixed byte[] entries to an output stream for sorting.
Complementary to Offline
Inheritance
System.Object
OfflineSorter.ByteSequencesWriter
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class ByteSequencesWriter : IDisposable
Constructors
| Improve this Doc View SourceByteSequencesWriter(FileInfo)
Constructs a Offline
Declaration
public ByteSequencesWriter(FileInfo file)
Parameters
Type | Name | Description |
---|---|---|
File |
file |
ByteSequencesWriter(DataOutput)
Constructs a Offline
Declaration
public ByteSequencesWriter(DataOutput os)
Parameters
Type | Name | Description |
---|---|---|
Data |
os |
Methods
| Improve this Doc View SourceDispose()
Disposes the provided Data
Declaration
public void Dispose()
Write(BytesRef)
Writes a Bytes
Declaration
public virtual void Write(BytesRef ref)
Parameters
Type | Name | Description |
---|---|---|
Bytes |
ref |
See Also
| Improve this Doc View SourceWrite(Byte[])
Writes a byte array.
Declaration
public virtual void Write(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
System. |
bytes |
See Also
| Improve this Doc View SourceWrite(Byte[], Int32, Int32)
Writes a byte array.
The length is written as a
Declaration
public virtual void Write(byte[] bytes, int off, int len)
Parameters
Type | Name | Description |
---|---|---|
System. |
bytes | |
System. |
off | |
System. |
len |