[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, TTimeSee 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
See Also