Java Streams and Iterators

Many of the core DataPipeline classes implement the Java streams and iteration APIs. This can reduce the code needed to work with collections or records, fields, and more. It can also make your code more readable and maintainable.

Class Iterable forEach Stream parallelStream
Record Field
RecordList Record
ConcurrentRecordList Record
FieldList String
ArrayValue ValueNode<?>
Dataset Record


The classes implementing java.lang.Iterable can be used in enhanced for-each loops.

For Each

The forEach function let's you specify a code block of work to perform against each element in a collection in a concise way.


The Stream API allows you to perform functional-style operations on streams of elements, such as filtering, mapping, and reducing.

Parallel Stream

The parallelStream method enables you to process streams in parallel, which results in significantly improved performance when working with large datasets.

Mobile Analytics