Package io.siddhi.core.query.processor
Enum ProcessingMode
- java.lang.Object
-
- java.lang.Enum<ProcessingMode>
-
- io.siddhi.core.query.processor.ProcessingMode
-
- All Implemented Interfaces:
Serializable,Comparable<ProcessingMode>
public enum ProcessingMode extends Enum<ProcessingMode>
The processing modes supported by Stream Processors
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProcessingModefindUpdatedProcessingMode(ProcessingMode currentProcessingMode, ProcessingMode updatingProcessingMode)static ProcessingModevalueOf(String name)Returns the enum constant of this type with the specified name.static ProcessingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BATCH
public static final ProcessingMode BATCH
-
SLIDE
public static final ProcessingMode SLIDE
-
HOP
public static final ProcessingMode HOP
-
GROUP
public static final ProcessingMode GROUP
-
RESET
public static final ProcessingMode RESET
-
-
Method Detail
-
values
public static ProcessingMode[] 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 (ProcessingMode c : ProcessingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProcessingMode 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
-
findUpdatedProcessingMode
public static ProcessingMode findUpdatedProcessingMode(ProcessingMode currentProcessingMode, ProcessingMode updatingProcessingMode)
-
-