Class TimeWindowConfig
- java.lang.Object
-
- org.apache.heron.streamlet.impl.windowings.TimeWindowConfig
-
- All Implemented Interfaces:
WindowConfig
public final class TimeWindowConfig extends Object implements WindowConfig
TimeWindowConfig implements a time based WindowConfig.
-
-
Constructor Summary
Constructors Constructor Description TimeWindowConfig(Duration windowDuration, Duration slidingIntervalDuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTo(BaseWindowedBolt bolt)
Apply this WindowConfig object to a bolt objectvoid
Dummy()
This is just a dummy function to avoid WindowConfig objects to be matched with Java functional interface and cause ambiguous reference compiling error.
-
-
-
Method Detail
-
applyTo
public void applyTo(BaseWindowedBolt bolt)
Apply this WindowConfig object to a bolt object- Specified by:
applyTo
in interfaceWindowConfig
- Parameters:
bolt
- the target bolt object
-
Dummy
public void Dummy()
Description copied from interface:WindowConfig
This is just a dummy function to avoid WindowConfig objects to be matched with Java functional interface and cause ambiguous reference compiling error. In case new virtual functions are needed in WindowConfig, this dummy function can be safely removed.- Specified by:
Dummy
in interfaceWindowConfig
-
-