Enum WindowConfig.Type
- java.lang.Object
-
- java.lang.Enum<WindowConfig.Type>
-
- org.apache.storm.trident.windowing.config.WindowConfig.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<WindowConfig.Type>
- Enclosing interface:
- WindowConfig
public static enum WindowConfig.Type extends Enum<WindowConfig.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SLIDING_COUNT
SLIDING_DURATION
TUMBLING_COUNT
TUMBLING_DURATION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WindowConfig.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static WindowConfig.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SLIDING_COUNT
public static final WindowConfig.Type SLIDING_COUNT
-
TUMBLING_COUNT
public static final WindowConfig.Type TUMBLING_COUNT
-
SLIDING_DURATION
public static final WindowConfig.Type SLIDING_DURATION
-
TUMBLING_DURATION
public static final WindowConfig.Type TUMBLING_DURATION
-
-
Method Detail
-
values
public static WindowConfig.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WindowConfig.Type c : WindowConfig.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WindowConfig.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-