Interface BoundedOneInput
- All Known Implementing Classes:
KeyedSortPartitionOperator,MapPartitionOperator,PartitionAggregateOperator,PartitionReduceOperator,SortPartitionOperator
@PublicEvolving
public interface BoundedOneInput
Interface for one-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()It is notified that no more data will arrive from the input.
-
Method Details
-
endInput
It is notified that no more data will arrive from the input.WARNING: It is not safe to use this method to commit any transactions or other side effects! You can use this method to flush any buffered data that can later on be committed e.g. in a
CheckpointListener.notifyCheckpointComplete(long).NOTE: Given it is semantically very similar to the
StreamOperator.finish()method. It might be dropped in favour of the other method at some point in time.- Throws:
Exception
-