Click or drag to resize

RecordWriterTFinishWriting Method

Informs the record writer that no further records will be written.

Namespace:  Ookii.Jumbo.IO
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public virtual void FinishWriting()

Implements

IRecordWriterFinishWriting
Remarks
Note Note
Overriders must call the base class implementation to ensure the HasFinishedWriting property gets set.

This method is intended for record writers that need to perform additional writing to finalize their output. In Jumbo Jet, this method will be called before the writer's metrics are collected so they can include these additional writes.

It is allowed to dispose any output streams or other objects related to the output when this method is called, as no more writes will occur after that point. However, the RecordsWrittenBytesWritten and OutputBytes properties must still return the correct values after FinishWriting has been called.

The Dispose implementation for RecordWriterT will call this method. It is recommended to make it safe to call this method multiple times.

See Also