| GenSortRecordReader Constructor (Stream, Int64, Int64, Boolean) |
Initializes a new instance of the
GenSortRecordReader class that reads the specified range of the specified stream.
Namespace:
Ookii.Jumbo.Jet.Samples.IO
Assembly:
Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax public GenSortRecordReader(
Stream stream,
long offset,
long size,
bool allowRecordReuse
)
Public Sub New (
stream As Stream,
offset As Long,
size As Long,
allowRecordReuse As Boolean
)
public:
GenSortRecordReader(
Stream^ stream,
long long offset,
long long size,
bool allowRecordReuse
)
new :
stream : Stream *
offset : int64 *
size : int64 *
allowRecordReuse : bool -> GenSortRecordReader
Parameters
- stream
- Type: System.IOStream
The Stream to read from. - offset
- Type: SystemInt64
The offset, in bytes, at which to start reading in the stream. - size
- Type: SystemInt64
The number of bytes to read from the stream. - allowRecordReuse
- Type: SystemBoolean
if the record reader may re-use the same record instance for every
record; if it must create a new instance for every record.
Remarks
If offset is not on a record boundary, the reader will seek ahead to the start of the next record.
The reader will read a whole number of records until the start of the next record falls
after offset + size. Because of this, the reader can
read more than size bytes.
See Also