Click or drag to resize

RecordReaderT Class

Abstract base class for record readers.
Inheritance Hierarchy

Namespace: Ookii.Jumbo.IO
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public abstract class RecordReader<T> : IRecordReader, 
	IDisposable

Type Parameters

T
The type of the record

The RecordReaderT type exposes the following members.

Constructors
 NameDescription
Protected methodRecordReaderT Initializes a new instance of the RecordReaderT class.
Protected methodRecordReaderT(Boolean) Initializes a new instance of the RecordReaderT class.
Top
Properties
 NameDescription
Public propertyBytesRead Gets the actual number of bytes read from the input.
Public propertyCurrentRecord Gets the current record.
Public propertyHasFinished Gets a value indicating whether this instance has read all records.
Public propertyHasRecords Gets a value that indicates whether there are records available on the data source that this reader is reading from.
Public propertyInputBytes Gets the size of the records before deserialization.
Public propertyProgress Gets a number between 0 and 1 that indicates the progress of the reader.
Public propertyReadTime Gets the time spent reading.
Public propertyRecordsRead Gets the number of records that has been read by this record reader.
Public propertySourceName Gets or sets the an informational string indicating the source of the records.
Top
Methods
 NameDescription
Public methodDispose Cleans up all resources held by this StreamRecordReader{T}.
Protected methodDispose(Boolean) Cleans up all resources associated with this RecordReaderT.
Public methodEnumerateRecords Enumerates over all the records.
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.
Public methodReadRecord Reads a record.
Protected methodReadRecordInternal Reads a record.
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.
Top
See Also