Click or drag to resize

RecordFileWriterT Class

A record writer that writes files in the record file format.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.IORecordWriterT
    Ookii.Jumbo.IOStreamRecordWriterT
      Ookii.Jumbo.IORecordFileWriterT

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public class RecordFileWriter<T> : StreamRecordWriter<T>

Type Parameters

T
The type of the records.

The RecordFileWriterT type exposes the following members.

Constructors
 NameDescription
Public methodRecordFileWriterT Initializes a new instance of the RecordFileWriterT class that writes to the specified stream.
Top
Properties
 NameDescription
Public propertyBytesWritten Gets the number of bytes that were actually written to the output.
(Inherited from StreamRecordWriterT)
Public propertyHasFinishedWriting Gets a value indicating whether FinishWriting method has been called.
(Inherited from RecordWriterT)
Public propertyHeader Gets the header of that was read from the record file.
Public propertyOutputBytes Gets the size of the written records after serialization.
(Inherited from StreamRecordWriterT)
Public propertyRecordsWritten Gets the total number of records written by this record writer.
(Inherited from RecordWriterT)
Public propertyStream Gets the underlying stream to which this record reader is writing.
(Inherited from StreamRecordWriterT)
Public propertyWriteTime Gets the time spent writing.
(Inherited from RecordWriterT)
Top
Methods
 NameDescription
Public methodDispose Cleans up all resources held by this RecordWriter{T}.
(Inherited from RecordWriterT)
Protected methodDispose(Boolean) Cleans up all resources associated with this RecordFileWriterT.
(Overrides StreamRecordWriterTDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodFinishWriting Informs the record writer that no further records will be written.
(Inherited from RecordWriterT)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteRecord Writes a record.
(Inherited from RecordWriterT)
Protected methodWriteRecordInternal Writes the specified record to the stream.
(Overrides StreamRecordWriterTWriteRecordInternal(T))
Public methodWriteRecords Writes the specified sequence of records.
(Inherited from RecordWriterT)
Top
Remarks

For more information about the format of record files, see RecordFileHeader.

See Also