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: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
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 methodRecordWriterTInitializes 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 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.
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.
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