ExtensionMethodsAdjustTimeTRecord, TTime Method Naiad Help

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

EXPERIMENTAL: Adjusts the timestamp on each record, under the requirement that the timestamp may only advance.

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, TTime> AdjustTime<TRecord, TTime>(
	this Collection<TRecord, TTime> input,
	Func<TRecord, TTime, TTime> timeSelector
)
where TRecord : Object, IEquatable<TRecord>
where TTime : Object, Time<TTime>

Parameters

input
Type: Microsoft.Research.Naiad.Frameworks.DifferentialDataflowCollectionTRecord, TTime
The input collection.
timeSelector
Type: SystemFuncTRecord, TTime, TTime
Function that maps a record and time to a new time for that record.

Type Parameters

TRecord
The type of the input records.
TTime
The type of timestamp on each record.

Return Value

Type: CollectionTRecord, TTime
See remarks.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CollectionTRecord, TTime. 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).
Remarks

This operator can be used in the inner loops of differential dataflow programs to "delay" the processing of individual records.
See Also

Reference

CollectionTRecord, TTimeGeneralFixedPointTKey(FuncLoopContextTTime, CollectionTRecord, IterationInTTime, CollectionTRecord, IterationInTTime, FuncTRecord, Int32, ExpressionFuncTRecord, TKey, Int32)