UtilsGetNaiadReaderBatchEnumerableTRecord Method Naiad Help

[This is preliminary documentation and is subject to change.]

Enumerates batches of records from a stream in the Naiad serialization format.

Namespace: Microsoft.Research.Naiad.Frameworks.Storage
Assembly: Microsoft.Research.Naiad.Storage (in Microsoft.Research.Naiad.Storage.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
public static IEnumerable<ArraySegment<TRecord>> GetNaiadReaderBatchEnumerable<TRecord>(
	Stream stream,
	int batchSize
)

Parameters

stream
Type: System.IOStream
A stream containing records serialized in the Naiad messaging format
batchSize
Type: SystemInt32
number of records per batch

Type Parameters

TRecord
Type of record in the stream

Return Value

Type: IEnumerableArraySegmentTRecord
An enumeration of records in the stream
See Also

Reference