@Experimental(value=TIMERS) public enum TimeDomain extends java.lang.Enum<TimeDomain>
TimeDomain
specifies whether an operation is based on timestamps of elements or current
"real-world" time as reported while processing.Enum Constant and Description |
---|
EVENT_TIME
The
EVENT_TIME domain corresponds to the timestamps on the elements. |
PROCESSING_TIME
The
PROCESSING_TIME domain corresponds to the current to the current (system) time. |
SYNCHRONIZED_PROCESSING_TIME
For internal use only; no backwards compatibility guarantees.
|
Modifier and Type | Method and Description |
---|---|
static TimeDomain |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeDomain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeDomain EVENT_TIME
EVENT_TIME
domain corresponds to the timestamps on the elements. Time advances on
the system watermark advances.public static final TimeDomain PROCESSING_TIME
PROCESSING_TIME
domain corresponds to the current to the current (system) time.
This is advanced during execution of the pipeline.@Internal public static final TimeDomain SYNCHRONIZED_PROCESSING_TIME
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.
public static TimeDomain[] values()
for (TimeDomain c : TimeDomain.values()) System.out.println(c);
public static TimeDomain valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null