CollectionTRecord, TTimeEnterLoop Method (LoopContextTTime, FuncTRecord, Int32)Naiad Help

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

Enables this collection to be used in the given loop context, where each record may be introduced at a different iteration.

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#
Collection<TRecord, IterationIn<TTime>> EnterLoop(
	LoopContext<TTime> context,
	Func<TRecord, int> iterationSelector
)

Parameters

context
Type: Microsoft.Research.Naiad.Dataflow.IterationLoopContextTTime
The loop context.
iterationSelector
Type: SystemFuncTRecord, Int32
Function that maps an input record to the iteration at which that record should be introduced.

Return Value

Type: CollectionTRecord, IterationInTTime
This collection, where each timestamp has an addition loop counter.
See Also

Reference