Click or drag to resize

RecordWriterT Class

Abstract base class for classes that write records.
Inheritance Hierarchy

Namespace:  Ookii.Jumbo.IO
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public abstract class RecordWriter<T> : IRecordWriter, 
	IDisposable

Type Parameters

T
The type of the record.

The RecordWriterT type exposes the following members.

Constructors
  NameDescription
Protected methodRecordWriterT
Initializes a new instance of the RecordWriterT class
Top
Properties
  NameDescription
Public propertyBytesWritten
Gets the number of bytes that were actually written to the output.
Public propertyHasFinishedWriting
Gets a value indicating whether FinishWriting method has been called.
Public propertyOutputBytes
Gets the size of the written records after serialization.
Public propertyRecordsWritten
Gets the total number of records written by this record writer.
Public propertyWriteTime
Gets the time spent writing.
Top
Methods
  NameDescription
Public methodDispose
Cleans up all resources held by this RecordWriter{T}.
Protected methodDispose(Boolean)
Cleans up all resources associated with this RecordWriterT.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows 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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWriteRecord
Writes a record.
Protected methodWriteRecordInternal
When implemented in a derived class, writes a record.
Public methodWriteRecords
Writes the specified sequence of records.
Top
Remarks

All records passed to WriteRecord(T) must be T; they may not be a type derived from T.

See Also