Enum Class Window.OnTimeBehavior
java.lang.Object
java.lang.Enum<Window.OnTimeBehavior>
org.apache.beam.sdk.transforms.windowing.Window.OnTimeBehavior
- All Implemented Interfaces:
Serializable
,Comparable<Window.OnTimeBehavior>
,Constable
Specifies the conditions under which an on-time pane will be created when a window is closed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways fire the on-time pane.Only fire the on-time pane if there is new data since the previous firing. -
Method Summary
Modifier and TypeMethodDescriptionstatic Window.OnTimeBehavior
Returns the enum constant of this class with the specified name.static Window.OnTimeBehavior[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRE_ALWAYS
Always fire the on-time pane. Even if there is no new data since the previous firing, an element will be produced.This is the default behavior.
-
FIRE_IF_NON_EMPTY
Only fire the on-time pane if there is new data since the previous firing.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-