Package org.apache.beam.sdk.state
Enum Class TimeDomain
- All Implemented Interfaces:
Serializable
,Comparable<TimeDomain>
,Constable
TimeDomain
specifies whether an operation is based on timestamps of elements or current
"real-world" time as reported while processing.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheEVENT_TIME
domain corresponds to the timestamps on the elements.ThePROCESSING_TIME
domain corresponds to the current (system) time.For internal use only; no backwards compatibility guarantees. -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeDomain
Returns the enum constant of this class with the specified name.static TimeDomain[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EVENT_TIME
TheEVENT_TIME
domain corresponds to the timestamps on the elements. Time advances on the system watermark advances. -
PROCESSING_TIME
ThePROCESSING_TIME
domain corresponds to the current (system) time. This is advanced during execution of the pipeline. -
SYNCHRONIZED_PROCESSING_TIME
For internal use only; no backwards compatibility guarantees.Same as the
PROCESSING_TIME
domain, except it won't fire a timer set for time t until all timers from earlier stages set for a time earlier than t have fired.
-
-
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
-