BinaryRecordReaderT Class |
Namespace: Ookii.Jumbo.IO
The BinaryRecordReaderT type exposes the following members.
| Name | Description | |
|---|---|---|
| BinaryRecordReaderT(Stream) |
Initializes a new instance of the BinaryRecordReaderT class that doesn't reuse records.
| |
| BinaryRecordReaderT(Stream, Boolean) |
Initializes a new instance of the BinaryRecordReaderT class.
| |
| BinaryRecordReaderT(Stream, Int64, Int64, Boolean) |
Initializes a new instance of the BinaryRecordReaderT class.
| |
| BinaryRecordReaderT(Stream, Int64, Int64, Boolean, Boolean) |
Initializes a new instance of the BinaryRecordReaderT class.
| |
| BinaryRecordReaderT(String, Boolean, Boolean, Int32, CompressionType, Int64) |
Initializes a new instance of the BinaryRecordReaderT class that reads from the specified file.
|
| Name | Description | |
|---|---|---|
| BytesRead |
Gets the size of the records before deserialization.
(Inherited from StreamRecordReaderT.) | |
| CurrentRecord |
Gets the current record.
(Inherited from RecordReaderT.) | |
| FirstRecordOffset |
Gets or sets the offset of the first record.
(Inherited from StreamRecordReaderT.) | |
| HasFinished |
Gets a value indicating whether this instance has read all records.
(Inherited from RecordReaderT.) | |
| HasRecords |
Gets a value that indicates whether there are records available on the data source that this reader is reading from.
(Inherited from RecordReaderT.) | |
| InputBytes |
Gets the size of the records before deserialization.
(Inherited from StreamRecordReaderT.) | |
| Offset |
Gets the position in the stream where reading began.
(Inherited from StreamRecordReaderT.) | |
| Progress |
Gets the progress of the reader.
(Inherited from StreamRecordReaderT.) | |
| ReadTime |
Gets the time spent reading.
(Inherited from RecordReaderT.) | |
| RecordInputStream |
Gets or sets the IRecordInputStream implementation of Stream.
(Inherited from StreamRecordReaderT.) | |
| RecordsRead |
Gets the number of records that has been read by this record reader.
(Inherited from RecordReaderT.) | |
| Size |
Gets the total size to read from the stream.
(Inherited from StreamRecordReaderT.) | |
| SourceName |
Gets or sets the an informational string indicating the source of the records.
(Inherited from RecordReaderT.) | |
| Stream |
Gets the underlying stream from which this record reader is reading.
(Inherited from StreamRecordReaderT.) |
| Name | Description | |
|---|---|---|
| CheckDisposed |
Checks if the object is disposed, and if so throws a ObjectDisposedException.
(Inherited from StreamRecordReaderT.) | |
| Dispose |
Cleans up all resources held by this StreamRecordReader{T}.
(Inherited from RecordReaderT.) | |
| Dispose(Boolean) |
Cleans up all resources associated with this StreamRecordReaderT.
(Overrides StreamRecordReaderTDispose(Boolean).) | |
| EnumerateRecords |
Enumerates over all the records.
(Inherited from RecordReaderT.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnHasRecordsChanged |
Raises the HasRecordsChanged event.
(Inherited from RecordReaderT.) | |
| ReadRecord |
Reads a record.
(Inherited from RecordReaderT.) | |
| ReadRecordInternal |
Reads a record.
(Overrides RecordReaderTReadRecordInternal.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| HasRecordsChanged |
Occurs when the value of the HasRecords property changes.
(Inherited from RecordReaderT.) |
No attempt is made to verify that the stream contains the correct type of record. The stream must contain records of type T. They may not be of a type derived from T.
This class cannot be used to read starting from any offset other than zero or a structural boundary in a record aware stream with the DoNotCrossBoundary option set, because a file created with BinaryRecordWriterT does not contain any record boundaries that can be used to sync the file when starting at a random offset.