A pipeline is a query for a stream.
A stream pipeline can be viewed as a query on the stream source.
Data Processing - (Pipeline | Compose | Chain)
A stream pipeline consists of:
In functional programming, Streams are lazy; computation on the source data is only performed when the terminal operation is initiated, and source elements are consumed only as needed.