Class InputSelection.Builder
java.lang.Object
org.apache.flink.streaming.api.operators.InputSelection.Builder
- Enclosing class:
- InputSelection
Utility class for creating
InputSelection.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()build(int inputCount) Build normalized mask, if all inputs were manually selected, inputMask will be normalized to -1.static InputSelection.Builderfrom(InputSelection selection) Returns aBuilderthat uses the input mask of the specifiedselectionas the initial mask.select(int inputId) Selects an input identified by the giveninputId.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
from
Returns aBuilderthat uses the input mask of the specifiedselectionas the initial mask. -
select
Selects an input identified by the giveninputId.- Parameters:
inputId- the input id numbered starting from 1 to 64, and `1` indicates the first input. Specially, `-1` indicates all inputs.- Returns:
- a reference to this object.
-
build
Build normalized mask, if all inputs were manually selected, inputMask will be normalized to -1. -
build
-