public static final class AssignerWithPunctuatedWatermarksAdapter.Strategy<T> extends Object implements WatermarkStrategy<T>
AssignerWithPunctuatedWatermarks
wrapped as a
WatermarkGenerator
.TimestampAssignerSupplier.Context, TimestampAssignerSupplier.SupplierFromSerializableTimestampAssigner<T>
WatermarkGeneratorSupplier.Context
Constructor and Description |
---|
Strategy(AssignerWithPunctuatedWatermarks<T> wms) |
Modifier and Type | Method and Description |
---|---|
TimestampAssigner<T> |
createTimestampAssigner(TimestampAssignerSupplier.Context context)
Instantiates a
TimestampAssigner for assigning timestamps according to this strategy. |
WatermarkGenerator<T> |
createWatermarkGenerator(WatermarkGeneratorSupplier.Context context)
Instantiates a WatermarkGenerator that generates watermarks according to this strategy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forBoundedOutOfOrderness, forGenerator, forMonotonousTimestamps, getAlignmentParameters, noWatermarks, withIdleness, withTimestampAssigner, withTimestampAssigner, withWatermarkAlignment, withWatermarkAlignment
of
public Strategy(AssignerWithPunctuatedWatermarks<T> wms)
public TimestampAssigner<T> createTimestampAssigner(TimestampAssignerSupplier.Context context)
WatermarkStrategy
TimestampAssigner
for assigning timestamps according to this strategy.createTimestampAssigner
in interface TimestampAssignerSupplier<T>
createTimestampAssigner
in interface WatermarkStrategy<T>
public WatermarkGenerator<T> createWatermarkGenerator(WatermarkGeneratorSupplier.Context context)
WatermarkStrategy
createWatermarkGenerator
in interface WatermarkGeneratorSupplier<T>
createWatermarkGenerator
in interface WatermarkStrategy<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.