Min

Javadoc Javadoc


Provides a variety of different transforms for computing the minimum values in a collection, either globally or for each key.

Examples

Example 1: get the minimum of a PCollection of Doubles.

Example 2: calculate the minimum of the Integers associated with each unique key (which is of type String).