public enum TimeDomain extends Enum<TimeDomain>
TimeDomain
specifies whether a firing timer is based on event time or processing time.Enum Constant and Description |
---|
EVENT_TIME
Time is based on the timestamp of events.
|
PROCESSING_TIME
Time is based on the current processing-time of a machine where processing happens.
|
Modifier and Type | Method and Description |
---|---|
static TimeDomain |
valueOf(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
public static final TimeDomain PROCESSING_TIME
public static TimeDomain[] values()
for (TimeDomain c : TimeDomain.values()) System.out.println(c);
public static TimeDomain valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.