Method Encode
Encode(OfflineSorter.ByteSequencesWriter, ByteArrayDataOutput, Byte[], BytesRef, Int64)
encodes an entry (bytes+weight) to the provided writer
Declaration
protected virtual void Encode(OfflineSorter.ByteSequencesWriter writer, ByteArrayDataOutput output, byte[] buffer, BytesRef spare, long weight)
Parameters
Type | Name | Description |
---|---|---|
OfflineSorter.ByteSequencesWriter | writer | |
ByteArrayDataOutput | output | |
System.Byte[] | buffer | |
BytesRef | spare | |
System.Int64 | weight |