Interface BoundedMultiInput
- All Known Implementing Classes:
BatchCoBroadcastWithKeyedOperator,BatchCoBroadcastWithNonKeyedOperator,FinishedOperatorChain,OperatorChain,RegularOperatorChain
@PublicEvolving
public interface BoundedMultiInput
Interface for multi-input operators that need to be notified about the logical/semantical end of
input.
NOTE: Classes should not implement both BoundedOneInput and BoundedMultiInput at the same time!
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidendInput(int inputId) It is notified that no more data will arrive from the input identified by theinputId.
-
Method Details
-
endInput
It is notified that no more data will arrive from the input identified by theinputId. TheinputIdis numbered starting from 1, and `1` indicates the first input.WARNING: It is not safe to use this method to commit any transactions or other side effects! You can use this method to e.g. flush data buffered for the given input or implement an ordered reading from multiple inputs via
InputSelectable.- Throws:
Exception
-