com.ibm.streams.operator.model
Enum InputPortSet.WindowPunctuationInputMode
- java.lang.Object
-
- java.lang.Enum<InputPortSet.WindowPunctuationInputMode>
-
- com.ibm.streams.operator.model.InputPortSet.WindowPunctuationInputMode
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<InputPortSet.WindowPunctuationInputMode>
- Enclosing class:
- InputPortSet
public static enum InputPortSet.WindowPunctuationInputMode extends java.lang.Enum<InputPortSet.WindowPunctuationInputMode>
Enumeration listing the types of punctuation semantics that can be supported by a port.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description Expecting
This port expects window punctuations in order for the operator to function correctly and thus must be fed a punctuated stream.Oblivious
This port does not require punctuations in order for the operator to work correctly and thus has no restrictions on the connections that can be attached to it.WindowBound
This port is an Expecting port if it has a punctuation-based window, and an Oblivious port otherwise.
-
Method Summary
Methods Modifier and Type Method and Description static InputPortSet.WindowPunctuationInputMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InputPortSet.WindowPunctuationInputMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Expecting
public static final InputPortSet.WindowPunctuationInputMode Expecting
This port expects window punctuations in order for the operator to function correctly and thus must be fed a punctuated stream.
-
Oblivious
public static final InputPortSet.WindowPunctuationInputMode Oblivious
This port does not require punctuations in order for the operator to work correctly and thus has no restrictions on the connections that can be attached to it.
-
WindowBound
public static final InputPortSet.WindowPunctuationInputMode WindowBound
This port is an Expecting port if it has a punctuation-based window, and an Oblivious port otherwise.
-
-
Method Detail
-
values
public static InputPortSet.WindowPunctuationInputMode[] 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 (InputPortSet.WindowPunctuationInputMode c : InputPortSet.WindowPunctuationInputMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputPortSet.WindowPunctuationInputMode valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-