Click or drag to resize

StreamRecordWriter<T> Class

Abstract base class for classes that write records to a stream.
Inheritance Hierarchy
System.Object
  Ookii.Jumbo.IO.RecordWriter<T>
    Ookii.Jumbo.IO.StreamRecordWriter<T>
      Ookii.Jumbo.IO.BinaryRecordWriter<T>
      Ookii.Jumbo.IO.RecordFileWriter<T>
      Ookii.Jumbo.IO.TextRecordWriter<T>
      Ookii.Jumbo.Jet.Samples.IO.GenSortRecordWriter

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

Type Parameters

T
The type of the record.

The StreamRecordWriter<T> type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBytesWritten
Gets the number of bytes that were actually written to the output.
(Overrides RecordWriter<T>.BytesWritten.)
Public propertyHasFinishedWriting (Inherited from RecordWriter<T>.)
Public propertyOutputBytes
Gets the size of the written records after serialization.
(Overrides RecordWriter<T>.OutputBytes.)
Public propertyRecordsWritten
Gets the total number of records written by this record writer.
(Inherited from RecordWriter<T>.)
Public propertyStream
Gets the underlying stream to which this record reader is writing.
Public propertyWriteTime
Gets the time spent writing.
(Inherited from RecordWriter<T>.)
Top
Methods
  NameDescription
Public methodDispose()
Cleans up all resources held by this RecordWriter{T}.
(Inherited from RecordWriter<T>.)
Protected methodDispose(Boolean) (Overrides RecordWriter<T>.Dispose(Boolean).)
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.
(Inherited from RecordWriter<T>.)
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.
(Inherited from RecordWriter<T>.)
Protected methodWriteRecordInternal
Writes a record.
(Overrides RecordWriter<T>.WriteRecordInternal(T).)
Public methodWriteRecords
Writes the specified sequence of records.
(Inherited from RecordWriter<T>.)
Top
See Also