Class InputSelection.Builder
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.InputSelection.Builder
-
- Enclosing class:
- InputSelection
public static final class InputSelection.Builder extends Object
Utility class for creatingInputSelection
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InputSelection
build()
InputSelection
build(int inputCount)
Build normalized mask, if all inputs were manually selected, inputMask will be normalized to -1.static InputSelection.Builder
from(InputSelection selection)
Returns aBuilder
that uses the input mask of the specifiedselection
as the initial mask.InputSelection.Builder
select(int inputId)
Selects an input identified by the giveninputId
.
-
-
-
Method Detail
-
from
public static InputSelection.Builder from(InputSelection selection)
Returns aBuilder
that uses the input mask of the specifiedselection
as the initial mask.
-
select
public InputSelection.Builder select(int inputId)
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
public InputSelection build(int inputCount)
Build normalized mask, if all inputs were manually selected, inputMask will be normalized to -1.
-
build
public InputSelection build()
-
-