...
To express the semantics of full window processing on DataStream, we need to define the corresponding method in DataStream class. One approach is to directly add a window(WindWindowAssigner assigner)
window(WindowAssigner assigner) method. This method only supports passing the EndOfStreamWindows introduced in FLIP-331.
...