@PublicEvolving @FunctionalInterface public interface WatermarkGeneratorSupplier<T> extends Serializable
WatermarkGenerators
. The supplier pattern is used to
avoid having to make WatermarkGenerator
Serializable
for use in API methods.
This interface is Serializable
because the supplier may be shipped to workers during
distributed execution.
Modifier and Type | Interface and Description |
---|---|
static interface |
WatermarkGeneratorSupplier.Context
Additional information available to
createWatermarkGenerator(Context) . |
Modifier and Type | Method and Description |
---|---|
WatermarkGenerator<T> |
createWatermarkGenerator(WatermarkGeneratorSupplier.Context context)
Instantiates a
WatermarkGenerator . |
WatermarkGenerator<T> createWatermarkGenerator(WatermarkGeneratorSupplier.Context context)
WatermarkGenerator
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.