IRecordInputStreamStopReadingAtPosition Property |
Namespace: Ookii.Jumbo.IO
For a stream where RecordOptions is set to DoNotCrossBoundary you can use this property to ensure that no data after the boundary is read if you only wish to read records up to the boundary.
On the Jumbo DFS, crossing a block boundary will cause a network connection to be established and data to be read from a different data server. If you are reading records from only a single block (as is often the case for Jumbo Jet tasks) this property can be used to ensure that no data from the next block will be read.
Setting this property to a value other than the stream length if DoNotCrossBoundary is not set, or to a value that is not on a structural boundary can cause reading to halt in the middle of a record, and is therefore not recommended.