RecordWriterTFinishWriting Method |
Namespace: Ookii.Jumbo.IO
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.