[This is preliminary documentation and is subject to change.]
Converts an IEnumerable<T> into a constant Naiad Stream<TRecord, TTime>, using the supplied computation.
Namespace: Microsoft.Research.Naiad.Input
Assembly: Microsoft.Research.Naiad (in Microsoft.Research.Naiad.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static Stream<TRecord, Epoch> AsNaiadStream<TRecord>( this IEnumerable<TRecord> source, Computation computation )
Parameters
- source
- Type: System.Collections.Generic.IEnumerable<TRecord>
input records - computation
- Type: Microsoft.Research.Naiad.Computation
graph manager
Type Parameters
- TRecord
- record type
Return Value
Type: Stream<TRecord, Epoch>single epoch stream containing source records
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<TRecord>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also