Enum Class OutputLimitSelector
- All Implemented Interfaces:
Serializable
,Comparable<OutputLimitSelector>
,Constable
Selector for use in output rate limiting.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
Returns the text for the selector.static OutputLimitSelector
Returns the enum constant of this class with the specified name.static OutputLimitSelector[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST
Output first event of last interval. -
LAST
Output last event of last interval. -
ALL
Output all events of last interval. For group-by statements, output all groups regardless whether the group changed between the last output. -
DEFAULT
Output all events of last interval. -
SNAPSHOT
Output all events as a snapshot considering the current state regardless of interval.
-
-
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
-
getText
Returns the text for the selector.- Returns:
- text
-