Example #1
0
 public TimestampsAndPeriodicWatermarksOperator(IAssignerWithPeriodicWatermarks <T> userFunction)
     : base(userFunction)
 {
     ChainingStrategy = ChainingStrategy.Always;
 }
Example #2
0
 /// <summary>
 /// Assigns timestamps to the elements in the data stream and periodically creates watermarks to signal event time progress.
 /// This method creates watermarks periodically (for example every second), based on the watermarks indicated by the given watermark generator. Even when no new elements in the stream arrive, the given watermark generator will be periodically checked for new watermarks. The interval in which watermarks are generated is defined in <see cref="FLink.Core.Api.Common.ExecutionConfig.SetAutoWatermarkInterval"/>.
 /// Use this method for the common cases, where some characteristic over all elements should generate the watermarks, or where watermarks are simply trailing behind the wall clock time by a certain amount.
 /// For the second case and when the watermarks are required to lag behind the maximum timestamp seen so far in the elements of the stream by a fixed amount of time, and this amount is known in advance, use the  <see cref="FLink.Streaming.Api.Functions.Timestamps.BoundedOutOfOrdernessTimestampExtractor{T}"/>.
 /// For cases where watermarks should be created in an irregular fashion, for example based on certain markers that some element carry, use the <see cref="IAssignerWithPunctuatedWatermarks{T}"/>.
 /// </summary>
 /// <param name="timestampAndWatermarkAssigner">The implementation of the timestamp assigner and watermark generator.</param>
 /// <returns>The stream after the transformation, with assigned timestamps and watermarks.</returns>
 public SingleOutputStreamOperator <TElement> AssignTimestampsAndWatermarks(
     IAssignerWithPeriodicWatermarks <TElement> timestampAndWatermarkAssigner)
 {
     return(null);
 }
Example #3
0
 public TimestampsAndPeriodicWatermarksOperator(IAssignerWithPeriodicWatermarks <T> userFunction)
     : base(userFunction)
 {
 }