Click or drag to resize

RecordFileReaderT Class

A record reader that reads files in the record file format.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.IORecordReaderT
    Ookii.Jumbo.IOStreamRecordReaderT
      Ookii.Jumbo.IORecordFileReaderT

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

Type Parameters

T
The type of the records.

The RecordFileReaderT type exposes the following members.

Constructors
 NameDescription
Public methodRecordFileReaderT(Stream) Initializes a new instance of the RecordFileReaderT class that reads from the specified stream.
Public methodRecordFileReaderT(Stream, Int64, Int64, Boolean) Initializes a new instance of the RecordFileReaderT class that reads the specified range of the specified stream, optionally reusing record instances.
Top
Properties
 NameDescription
Public propertyBytesRead Gets the size of the records before deserialization.
(Inherited from StreamRecordReaderT)
Public propertyCurrentRecord Gets the current record.
(Inherited from RecordReaderT)
Protected propertyFirstRecordOffset Gets or sets the offset of the first record.
(Inherited from StreamRecordReaderT)
Public propertyHasFinished Gets a value indicating whether this instance has read all records.
(Inherited from RecordReaderT)
Public propertyHasRecords Gets a value that indicates whether there are records available on the data source that this reader is reading from.
(Inherited from RecordReaderT)
Public propertyHeader Gets the header of that was read from the record file.
Public propertyInputBytes Gets the size of the records before deserialization.
(Inherited from StreamRecordReaderT)
Protected propertyOffset Gets the position in the stream where reading began.
(Inherited from StreamRecordReaderT)
Public propertyProgress Gets the progress of the reader.
(Inherited from StreamRecordReaderT)
Public propertyReadTime Gets the time spent reading.
(Inherited from RecordReaderT)
Protected propertyRecordInputStream Gets or sets the IRecordInputStream implementation of Stream.
(Inherited from StreamRecordReaderT)
Public propertyRecordsRead Gets the number of records that has been read by this record reader.
(Inherited from RecordReaderT)
Protected propertySize Gets the total size to read from the stream.
(Inherited from StreamRecordReaderT)
Public propertySourceName Gets or sets the an informational string indicating the source of the records.
(Inherited from RecordReaderT)
Protected propertyStream Gets the underlying stream from which this record reader is reading.
(Inherited from StreamRecordReaderT)
Top
Methods
 NameDescription
Protected methodCheckDisposed Checks if the object is disposed, and if so throws a ObjectDisposedException.
(Inherited from StreamRecordReaderT)
Public methodDispose Cleans up all resources held by this StreamRecordReader{T}.
(Inherited from RecordReaderT)
Protected methodDispose(Boolean) Cleans up all resources associated with this RecordFileReaderT.
(Overrides StreamRecordReaderTDispose(Boolean))
Public methodEnumerateRecords Enumerates over all the records.
(Inherited from RecordReaderT)
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 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)
Protected methodOnHasRecordsChanged Raises the HasRecordsChanged event.
(Inherited from RecordReaderT)
Public methodReadRecord Reads a record.
(Inherited from RecordReaderT)
Protected methodReadRecordInternal Reads a record.
(Overrides RecordReaderTReadRecordInternal)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventHasRecordsChanged Occurs when the value of the HasRecords property changes.
(Inherited from RecordReaderT)
Top
Remarks

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

See Also