[This is preliminary documentation and is subject to change.]
Namespace: Microsoft.Research.Naiad.Frameworks.DifferentialDataflow
Assembly: Microsoft.Research.Naiad.DifferentialDataflow (in Microsoft.Research.Naiad.DifferentialDataflow.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public static Collection<TRecord, Epoch> SlidingWindow<TRecord>( this Stream<TRecord, Epoch> input, int windowSize ) where TRecord : Object, IEquatable<TRecord>
Parameters
- input
- Type: Microsoft.Research.NaiadStreamTRecord, Epoch
The input collection - windowSize
- Type: SystemInt32
Number of epochs in which each record should appear.
Type Parameters
- TRecord
- The type of the input records.
Return Value
Type: CollectionTRecord, EpochThe collection that represents a sliding window over the input.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type StreamTRecord, Epoch. 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