Use case
From a stream of data output a range of records from first record matched some condition until another record mathed another condition. This also can be extended by counter of matches or even some sequence patterns.
Applications: log analysis, complex event processing.