Stream - Pipeline (Stream Source Query)

1 - About

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:

  • a source (which might be an array, a collection, a generator function, an I/O channel, etc),
  • zero or more intermediate operations (which transform a stream into another stream, such as filter(Predicate)),
  • and a terminal operation (which produces a result).

3 - Type of pipeline

3.1 - Functional

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.

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap